
Git Basics
Authored by Samuel Markham
Computers
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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`
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?