git查看各个branch之间的关系
1.pull所有branch
for remote in `git branch -r `; do git branch --track $remote; done
for remote in `git branch -r `; do git checkout $remote ; git pull; done
2.查看branch之间关系
git log --graph --all --decorate --simplify-by-decoration --oneline
branch - Track all remote git branches as local branches - Stack Overflow
branch - Relationship between n git branches - Stack Overflow