(HEAD detached from origin/main) code example Example: head detached at origin/master git checkout master