(head detached at ) git checkout master not working code example Example: head detached at origin/master git checkout master