
GitHub Session2
Authored by Daba Own
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to create a new branch?
What command is used to create a new branch?
git branch new
git create-branch
git start-branch
git branch <name>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default branch name in modern Git?
What is the default branch name in modern Git?
CSE
default
main
trunk
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Git feature lets you manage multiple features or fixes separately?
What Git feature lets you manage multiple features or fixes separately?
Logs
Branches
Commits
Diffs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you merge two branches?
What happens when you merge two branches?
One is deleted
You replace the main branch
You combine their commit histories
You undo changes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the " .gitignore " file used for?
What is the " .gitignore " file used for?
To exclude specific files/folders from tracking
To ignore merge conflicts
To ignore commands
To list deleted files
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a fast-forward merge?
What is a fast-forward merge?
A merge with no changes
A direct update of the main branch pointer
A merge with a time limit
A pull from a remote
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do merge conflicts occur?
When do merge conflicts occur?
When forgetting " git add "
When files are missing
When pushing to remote
When two branches modify the same lines
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?