"HEAD" is the name of the `HEAD` ref indeed, and this is setting HEAD to point to a commit directly, instead of updating the current branch.