Atsietas HEAD (angl. detached HEAD) pasitaiko, kai HEAD nurodo tiesiai į commit, o ne į šaką. Tai normalus būvis (ne klaida), kuris nutinka, kai grįžtat į konkrečią commit'ą, žymą arba nuotolinę commit'ą — tačiau commit'ų kūrimas tokiame būvyje gali sukelti darbo praradimą, todėl suprasti jį yra svarbu.
Į ką HEAD normaliai nurodo
NORMALLY: HEAD → a BRANCH (e.g. main) → a commit
→ when you commit, the branch pointer advances, and HEAD follows it
DETACHED: HEAD → directly to a COMMIT (not through a branch)
→ you're "not on any branch" — looking at a specific commit
