git checkout -b <branch>"创建一个新的branch,并且切换到这个branch上。例如:

[root@localhost git_repo]# git checkout -b new-branch
Switched to a new branch 'new-branch'
[root@localhost git_repo]# git branch
  master
* new-branch