Git Commands Quiz

Git Commands Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Google Professional Architect 6 - 101 to 120

Google Professional Architect 6 - 101 to 120

Professional Development

20 Qs

AWS SAA - 3

AWS SAA - 3

Professional Development

20 Qs

Uji Pemahaman Server 2 - VMware

Uji Pemahaman Server 2 - VMware

University - Professional Development

10 Qs

AZ-400 | Mod-1 & 2

AZ-400 | Mod-1 & 2

Professional Development

13 Qs

Semana 3 HTML, GIT, GitHub

Semana 3 HTML, GIT, GitHub

Professional Development

10 Qs

Docker-Containers

Docker-Containers

Professional Development

10 Qs

Kiến thức về Git và GitHub

Kiến thức về Git và GitHub

Professional Development

20 Qs

Troubleshooting and the Future of Networking

Troubleshooting and the Future of Networking

Professional Development

16 Qs

Git Commands Quiz

Git Commands Quiz

Assessment

Quiz

Instructional Technology

Professional Development

Hard

Created by

Shailesh D

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is Git primarily used for?

Web Development

Version Control

Database Management

Graphic Design

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to initialize a new Git repository?

git start

git init

git create

git new

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the 'git clone' command do?

Create a new branch

Clone a repository from a remote server

Create a copy of the local repository

Move the repository to a new location

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the 'git pull' command?

Push changes to a remote repository

Fetch changes from a remote repository and merge them

Create a new branch

Revert to a previous commit

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

git branch

git new

git create-branch

git make-branch

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the 'git add' command do?

Commit changes to the repository

Add files to the staging area

Create a new branch

Delete files from the repository

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you discard changes in your working directory and revert to the last committed version of a file?

git restore

git discard

git reset

git revert

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?