Mastering Git Commands

Mastering Git Commands

12th Grade

15 Qs

quiz-placeholder

Similar activities

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

ICT_LU3-Computer Software_League2

ICT_LU3-Computer Software_League2

10th - 12th Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Information Management - QUIZ

Information Management - QUIZ

University

20 Qs

Operating System -Quiz-1

Operating System -Quiz-1

University

10 Qs

Programming

Programming

University

12 Qs

Google

Google

7th - 12th Grade

20 Qs

Mastering Git Commands

Mastering Git Commands

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Forcia Batoctoy

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to initialize a new Git repository?

git create

git newrepo

git start

git init

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the status of your Git repository?

Use the command 'git status'.

Type 'git log' for repository status.

Run 'git info' to see the status.

Use the command 'git check'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to stage changes for a commit?

git status

git add

git commit

git push

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Zoe is working on a project and needs to create a new branch in Git to add a new feature. What is the command she should use?

git create

git new-branch

git checkout -b

git branch

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Avery is working on a project in Git and needs to switch to a different branch to implement a new feature. How does she do that?

git switch-branch

git checkout or git switch

git move

git branch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command merges changes from one branch into another?

git sync

git merge

git join

git combine

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view the commit history in Git?

Use the command 'git log'.

View the history in the Git GUI.

Run 'git commit -m' to see history.

Use the command 'git status'.

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?