Git Quiz

Git Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

The Worst IT Quiz Ever

The Worst IT Quiz Ever

Professional Development

15 Qs

Basic Python

Basic Python

Professional Development

10 Qs

Repositorios de código

Repositorios de código

Professional Development

10 Qs

Week 1 - CustomTkinter Quiz

Week 1 - CustomTkinter Quiz

Professional Development

15 Qs

Guess the Video Game Pets 1

Guess the Video Game Pets 1

KG - Professional Development

13 Qs

DBT Advanced Quiz

DBT Advanced Quiz

Professional Development

15 Qs

git and github

git and github

University - Professional Development

10 Qs

Module 1. Passive Reconnaissance

Module 1. Passive Reconnaissance

Professional Development

15 Qs

Git Quiz

Git Quiz

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Claudiu Haidu

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?