Somebody pushed a branch called
git push origin test to a shared repository. I can see the branch with
git branch -r.
Now I'm trying to check out the remote
git checkout testwhich does nothing
git checkout origin/testgives
* (no branch). Which is confusing. How can I be on "no branch"?
How do I check out a remote Git branch?