On a detached head. Exiting... code example Example: git return from detached head git checkout <branchname>