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
You can try
git fetch remote git checkout --track -b local_branch_name origin/branch_name
or
git fetch git checkout -b local_branch_name origin/branch_name