Explain it in 60 seconds
What HEAD and detached HEAD mean
Cloud & DevOps · Git and Version Control · Beginner
What is HEAD in Git, and what does "detached HEAD" mean?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- HEAD points to current branch/commit.
- Detached: HEAD points directly to a commit.
- Happens when checking out a tag/commit.
- New commits not on any branch.
- Create a branch to keep work.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.