git * (HEAD detached at refs/heads/ code example Example: head detached at origin/master git checkout master