🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Git Workflow and Interview: all 10 questions

Quiz: Git Workflow and Interview · Question 2 of 10

What does HEAD refer to?

What does HEAD refer to?

  1. A.The first commit
  2. B.The commit or branch you currently have checked out
  3. C.The remote repository
  4. D.The newest branch
Answer & explanation

Correct answer: The commit or branch you currently have checked out

HEAD tells Git where you are.

Can you get the rest right without peeking?

Take the timed Quiz: Git Workflow and Interview quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →