Search Header Logo

Git & GitHub Quiz

Authored by bunty sharma

Computers

12th Grade

Used 22+ times

Git & GitHub Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is Git used for?

Version control and collaboration in software development
Cooking recipes
Creating music playlists

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the purpose of the 'git init' command in git?

To initialize a new Git repository.

To delete all files in the repository

To create a new branch

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What command is used to create a new branch in git?

git branch

git add

git checkout

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is a pull request in GitHub?

request to delete a repository

request to merge branches

A request to pull changes from a remote repository

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

How can multiple users collaborate on a GitHub repository?

By creating a new repository and manually copying the changes from the original repository

By forking the repository, making changes, and creating a pull request to merge changes

By sending the changes directly to the repository owner

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

In Git, what is a commit?

A record of changes in the repository

A branch

A new file

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which command is used to stage changes for commit in git?

git commit

git checkout

git add

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?