how to attach head to master code example Example: head detached at origin/master git checkout master