Git Commands Quiz

Git Commands Quiz

12th Grade

18 Qs

quiz-placeholder

Similar activities

Git and GitHub Quiz

Git and GitHub Quiz

12th Grade

20 Qs

Round 4 Clash of Coders

Round 4 Clash of Coders

12th Grade

20 Qs

Linux - Unit 6 Quiz

Linux - Unit 6 Quiz

9th - 12th Grade

13 Qs

Git Branching

Git Branching

12th Grade

20 Qs

Git Version Control

Git Version Control

12th Grade

20 Qs

Git and Open Source Quiz

Git and Open Source Quiz

12th Grade

20 Qs

basic of software engineering

basic of software engineering

12th Grade

21 Qs

GitHub

GitHub

12th Grade

20 Qs

Git Commands Quiz

Git Commands Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

karunakar pusuluri

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?