A detached HEAD iseħħ meta HEAD jiponta direttament għal commit minflok li jiponta għal branch. Huwa stat normali (mhux iżball) li jseħħ meta tiflaħ out commit speċifiku, tag, jew remote commit — imma committing fiż-żomm taż-żmien jirrisku tnaqqis ix-xogħol, għalhekk il-fehim tiegħu huwa importanti.
Liema punt li HEAD normalment jiponta
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
