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 newly created branches
git fetch
To switch into another branch
git checkout BranchName