Git Basics Quiz

Git Basics Quiz

1st Grade

10 Qs

quiz-placeholder

Similar activities

GRADE 1 WEEK 3-4

GRADE 1 WEEK 3-4

1st Grade

10 Qs

C1L1

C1L1

KG - 3rd Grade

10 Qs

SCR1 Recap Day 2

SCR1 Recap Day 2

1st Grade

7 Qs

Quiz 1

Quiz 1

1st - 12th Grade

15 Qs

Mrs Clarke & Mrs Gaffneys' Touch Typing Quiz

Mrs Clarke & Mrs Gaffneys' Touch Typing Quiz

1st - 2nd Grade

10 Qs

class 1 - Full Revision1

class 1 - Full Revision1

1st Grade

15 Qs

SAM LABS Starter Quiz

SAM LABS Starter Quiz

1st - 5th Grade

14 Qs

Git Basics Quiz

Git Basics Quiz

Assessment

Quiz

Computers

1st Grade

Practice Problem

Hard

Created by

Akhil Goyal

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 an empty Git repository in a specified directory?

git init

git clone

git config

git add

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to stage all changes in a directory for the next commit?

git init

git clone

git config

git add

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to commit the staged changes with a commit message?

git init

git clone

git config

git commit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to show the status of the repository?

git status

git log

git diff

git revert

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to undo all the changes made in a specific commit?

git revert

git reset

git clean

git commit

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove a file from the staging area without overwriting any changes?

git revert

git reset

git clean

git add

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

git branch

git checkout

git merge

git remote

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?