Detached HEAD isn't complicated. It simply means there is nothing tracking the current line of work beyond the commit shas themselves. No branch is updated when you make commits.
Conversely, attached HEAD means a branch is being updated whenever you make a commit, e.g. when you make commits on your local master.
Conversely, attached HEAD means a branch is being updated whenever you make a commit, e.g. when you make commits on your local master.