Info git/github

Info git/github

University

5 Qs

quiz-placeholder

Similar activities

Què has après sobre el web ?

Què has après sobre el web ?

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

Lenguaje Perl

Lenguaje Perl

University

10 Qs

UTP Cable

UTP Cable

12th Grade - University

10 Qs

workshop

workshop

University

10 Qs

Classification in Machine Learning2

Classification in Machine Learning2

University

10 Qs

TPAV

TPAV

12th Grade - University

10 Qs

CSS Quiz 2

CSS Quiz 2

University - Professional Development

10 Qs

Info git/github

Info git/github

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

ADNAN KHAN

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Git, and how is it different from GitHub?

Git is a version control system, while GitHub is a cloud-based platform for hosting Git repositories.

GitHub is a version control system, and Git is a cloud platform for hosting projects.

Git and GitHub are both cloud-based platforms for storing code.

Git and GitHub are the same thing, used interchangeably.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you initialize a Git repository in a project?

git start

git init

git new

git create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the git add and git commit commands?

git add saves the file to the repository, and git commit stages the file.

git add stages changes, and git commit records those changes to the repository.

git add deletes files, and git commit undoes changes.

git add creates a branch, and git commit switches branches.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you clone a repository from GitHub to your local machine?

git download <repository-url>

git pull <repository-url>

git fetch <repository-url>

git clone <repository-url>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Git branch, and how do you create a new branch?

A branch is a copy of the repository; git branch <branch-name>

A branch is a history of changes; git checkout <branch-name>

A branch is a parallel version of the repository; git branch <branch-name>

A branch is a collection of commits; git push <branch-name>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers