Git · Junior · Question 18 of 75
What is HEAD?
- 1The newest commit across all of the branches
- ✓Correct answer: A pointer to what is checked out, usually a branch
- 3The latest commit on the remote
mainbranch
Explanation
HEAD normally points to a branch, which points to a commit. New commits go to the branch HEAD refers to.