Git Basics

Git Basics

9th Grade

11 Qs

quiz-placeholder

Similar activities

Cryptography

Cryptography

6th Grade - University

15 Qs

Micro:bit

Micro:bit

6th - 9th Grade

10 Qs

Adopt me

Adopt me

KG - Professional Development

14 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

1.1 - System Architecture - CPU [OCR] [GCSE]

1.1 - System Architecture - CPU [OCR] [GCSE]

9th - 12th Grade

10 Qs

Computer Education Grade 3 Volume 4 Quiz

Computer Education Grade 3 Volume 4 Quiz

3rd Grade - University

10 Qs

Konsep Routing

Konsep Routing

1st - 10th Grade

10 Qs

Year 8 - Progress Check 1 (Python Turtle Shapes)

Year 8 - Progress Check 1 (Python Turtle Shapes)

8th - 9th Grade

10 Qs

Git Basics

Git Basics

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Samuel Markham

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Git primarily used for?

Project management

Version control

Graphic design

Database management

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new Git repository?

`git init`

`git start`

`git new`

`git create`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the status of your files in a Git repository?

`git check`

`git status`

`git verify`

`git inspect`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to add changes to the staging area?

`git commit`

`git add`

`git stage`

`git push`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to commit changes with a message?

`git commit -m "message"`

`git commit -msg "message"`

`git commit -message "message"`

`git commit -note "message"`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new branch in Git?

`git branch new_branch`

`git create new_branch`

`git new new_branch`

`git branch -new new_branch`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to switch to another branch?

`git switch branch_name`

`git checkout branch_name`

`git change branch_name`

`git move branch_name`

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?