pull all remote branches and create local branch
#!/bin/bash for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done