origin/master and master branch are detached code example Example: head detached at origin/master git checkout master