
Introduction to Git and Github
Authored by Ayushi Awasthi
Computers
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to initialize a Git repository in a directory?
git init
init git
git create
git start
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to add files to the staging area in Git?
git push
git checkout
git commit
git add
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to confirm changes in Git?
git commit
git checkout
git add
git push
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to merge branches in Git?
git merge
git push
git branch
git commit
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a remote repository in GitHub?
Store and manage project versions collaboratively
Share memes with other users
Organize networking events for developers
Create a local backup of the project
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you clone a remote repository in GitHub through the command line?
git clone
git commit
git add
git pull
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic workflow in Git?
Open, copy, paste, save as
Clone, make changes, add, commit, push
Download, edit, delete, save
Create, move, rename, delete
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?