Detached HEAD
A Git state where HEAD points directly to a commit instead of a branch — usually accidental, sometimes intentional.
Normally HEAD points to a branch (like main), and a new commit updates both HEAD and the branch. In detached HEAD mode, HEAD points to a specific commit, and a new commit doesn't update any branch. Work is saved in reflog, but branches stay unchanged, so the commit seems to vanish if you don't copy the hash beforehand.
It happens when you check out a specific commit (`git checkout abc123`) or a tag that isn't a branch. Some projects warn loudly; others say nothing. In detached state you can experiment without risk to the branch — until you push or create a new branch.