git Enter detached head status code example Example: git return from detached head git checkout <branchname>