When committing on a detached head (ahead of any tag or branch) it does not show up in the tree. clicking on "detached head" does not highlight any commit, because it is not visible.