...is done by
git branch --track foo origin/foo
Then you can switch to the branch as usual with git checkout foo. Switch back with git checkout master. To find out which branches are available remote, use git branch -r.