git why on detached head for my branch? code example Example: git return from detached head git checkout <branchname>