Why does Git tell me “Not currently on any branch” after I run “git checkout origin/”?

The output of git status indicates that your working directory is clean; good. Now, by running git checkout origin/web-zach you are attempting to check out a remote-tracking branch, called origin/web-zach; it’s a special type of branch, local to your repo, that keeps track of the corresponding branch, web-zach, living in the remote repository called origin. … Read more