Using bash,
If you want to checkout all branches:
for remote in `git branch -r`; do git checkout $(echo $remote | cut -d'/' -f 2); done
It’s important to note that when you do a fetch that brings down new remote-tracking branches, you don’t automatically have local, editable copies of them.