Git & GitHub Quiz 2 Codingnest
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Coding Nest
Used 2+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to initialize a new Git repository?
git start
git new
git create
git init
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to stage all changes in the working directory for the next commit?
git add .
git push origin master
git stage .
git commit -m 'message'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to create a new branch in Git?
git checkout -b
git commit -m
git branch
git add
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you clone a repository from GitHub to your local machine?
git pull
git commit
git add
git clone
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to view the commit history in Git?
git status
git history
git show
git log
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of 'git pull' command?
To delete all local changes and update the remote repository
To fetch and download content from a remote repository and immediately update the local repository to match that content.
To merge changes from the local repository to the remote repository
To create a new branch in the local repository
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to discard changes in the working directory in Git?
git commit -m 'Discard changes'
git checkout -- .
git revert HEAD
git reset --hard
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
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
Globe Google Workspace Intro
Quiz
•
Professional Development
10 questions
Hành vi tổ chức
Quiz
•
University - Professi...
10 questions
Azure Cloud computing
Quiz
•
Professional Development
15 questions
UML
Quiz
•
Professional Development
10 questions
Hen keeping
Quiz
•
Professional Development
10 questions
How are you doing?
Quiz
•
Professional Development
11 questions
Marvel Future Fight
Quiz
•
KG - Professional Dev...
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
