git how to set (HEAD detached at c54682e) as master code example Example: head detached at origin/master git checkout master