Somebody pushed a branch called test with git push origin test to a shared repository. I can see the branch with git branch -r.
test
git push origin test
git branch -r
to get all remote branches use this :
git fetch --all
then checkout to the branch :
git checkout test