Git Quiz

Git Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Web Basic

Web Basic

Professional Development

14 Qs

DDL - Create

DDL - Create

Professional Development

10 Qs

Port Scanning

Port Scanning

Professional Development

10 Qs

Network Plus Pre Assessment

Network Plus Pre Assessment

Professional Development

15 Qs

KOMPUTER AKUNTANSI KLS XII-1

KOMPUTER AKUNTANSI KLS XII-1

Professional Development

15 Qs

Day 1 - Basics of Java

Day 1 - Basics of Java

Professional Development

14 Qs

Git - Github - GitHub Pages

Git - Github - GitHub Pages

Professional Development

11 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

Create a free account and access millions of resources

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?