git checkout -b branch_name origin/branch_name
或者
git branch --set-upstream branch_name origin/branch_name
或者
git branch branch_name
git branch --set-upstream-to=origin/branch_name branch_name
git branch -vv
git config --list
git log
git log --stat
git log --shortstat
原文:http://www.cnblogs.com/hujunzheng/p/5938552.html