Git branches: checking out a new branch - SPL-ethz/CAT GitHub Wiki
Update the list of remote branches:
git remote update
See all branches, including remote:
git branch -a
Example output:
* master
remotes/origin/DavePlotting
remotes/origin/master
Checkout a new branch:
git checkout -b DavePlotting origin/DavePlotting
This creates a local tracking branch of the remote branch DavePlotting, and switches to this branch.
You should now have the latest update to this new branch.
Source: http://stackoverflow.com/questions/67699/how-do-i-clone-all-remote-branches-with-git