git branch 【new】 表示创建一个新的branch,并且Head依旧停留在当前的branch git checkout -b 【new】 表示创建一个新的branch,并且Head会移向新创建的branch