Week 2 Version Control With Git
Week 2 Version Control With Git
Correct
This is covered in 'Git IDs'.
5.
Question 5
What do branch labels point to?
1 / 1 point
Every commit of a branch.
The initial commit of a branch.
• The most recent commit of a branch.
Correct
This is covered in 'References'.
6.
Question 6
How many HEAD references are in a local repository?
1 / 1 point
One for each commit.
• One.
Correct
This is covered in 'References'.
8.
Question 8
What happens when a branch is created?
1 / 1 point
• A branch label is created.
Correct
This is covered in 'Branches'.
10.
Question 10
What does a detached HEAD mean?
1 / 1 point
The HEAD reference points to a branch label.
• The HEAD reference points directly to a commit SHA-1.
Correct
This is covered in 'Branches'.
12.
Question 12
Which one of the following statements is true?
1 / 1 point
A commit can only belong to one branch at a time.
A merge always creates a new commit.
• Merging combines the work of branches.
Correct
This is covered in 'Merging'.
13.
Question 13
Which one of the following statements about fast-forward merges is true?
1 / 1 point
The merge may change some commits.
• The merge moves a branch label.