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
git reflog
本文轉自 小眼兒 部落格園部落格,原文連結:http://www.cnblogs.com/hujunzheng/p/5938552.html,如需轉載請自行聯系原作者