git switch

git switch remote-branch

checks out a branch that is possibly not present on the machine.