Git Checkout Remote Branch

With Git versions ≥ 1.6.6, with only one remote, you can do:

  $ git fetch
  $ git checkout <branch_name>

If you have multiple remotes:

  $ git checkout -b <branch_name> <remote>/<branch_name>