Search Header Logo

Git Commands Quiz

Authored by karunakar pusuluri

Computers

12th Grade

Used 3+ times

Git Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to initialize a new Git repository?

git start

git create

git begin

git init

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

git push

git stage

git add

git commit

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to commit changes in Git?

git push

git add

git commit

git merge

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to view the commit history in Git?

git show

git history

git log

git status

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

git branch

git new-branch

git branch -c

git create-branch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to switch to a different branch in Git?

git checkout

git switch

git move

git branch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to merge branches in Git?

git merge

git combine

git unite

git join

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?