I often have at least 3 remote branches: master, staging and production. I have 3 local branches that track those remote branches.
Updating all my local branches is
Here is a good answer: How to fetch all git branches
for remote in `git branch -r`; do git branch --track $remote; done git pull --all