Git Quiz

Git Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

Git - Github - GitHub Pages

Git - Github - GitHub Pages

Professional Development

11 Qs

Ingenio - Full Stack Course - First Quiz

Ingenio - Full Stack Course - First Quiz

Professional Development

14 Qs

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Git & Github

Git & Github

Professional Development

10 Qs

Git Bash Quiz

Git Bash Quiz

Professional Development

10 Qs

git and github

git and github

University - Professional Development

10 Qs

Fullstack Intro, Terminal dan Git

Fullstack Intro, Terminal dan Git

Professional Development

10 Qs

Chapter 2 Binar SYNRGY 6

Chapter 2 Binar SYNRGY 6

Professional Development

15 Qs

Git Quiz

Git Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Claudiu Haidu

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

git commit <branch_name>

git push <branch_name>

git branch <branch_name>

git checkout <branch_name>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What 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 view the commit history in Git?

git log

git history

git status

git diff

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to merge branches in Git?

git commit

git merge

git checkout

git pull

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the command "git clone"?

To create a new repository

To create a new branch

To make a copy of an existing repository

To delete a repository

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Git command to discard changes in a specific file?

git reset

git revert

git checkout

git discard

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you undo the last commit in Git?

git undo

git revert HEAD

git reset --hard HEAD^

git rollback

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?