
Mastering Git Commands
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Forcia Batoctoy
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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

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?
Similar Resources on Wayground
14 questions
Software: Programming Languages
Quiz
•
10th - 12th Grade
15 questions
HTML Quiz
Quiz
•
9th - 12th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
10 questions
Managing and Formatting Word Documents
Quiz
•
12th Grade
20 questions
Pengayaan Informatika
Quiz
•
12th Grade
15 questions
Program Implementation
Quiz
•
10th - 12th Grade
20 questions
Data & Signal
Quiz
•
University
15 questions
Python. GuiZero
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
