Puxe o ramo remoto git
git fetch origin
git checkout --track origin/<branch_name>
Disturbed Dingo
git fetch origin
git checkout --track origin/<branch_name>
git fetch origin
git checkout –track origin/xyz
git.checkout('origin/mybranch', b='mybranch')