Git HEAD is pointing to the current working commit. One could move the HEAD along the commit history in the repository without restrictions. We could move the HEAD to specific position by using checkout {commit}
either by specifying the branch name, tag, individual commit or by using 202205251604#.
Git HEAD
-
Git Relative Positioning
Symbols such as
^
and~
could be used for relative positioning for #202204261252. It could be applied to HEAD itself, branch name or tag, but not to individual commit. - Git