git checkout new branch

Shell
truelover@PEACE project % git checkout master
truelover@PEACE project % git checkout branch_name
#create branch
truelover@PEACE project % git checkout -b new_branch_name// create and checkout new branch in one line
git checkout -b new_branch# Create New Branch And Switch To It
$ git checkout -b myBranchName$ git checkout -b <branch_name>
//when on branch 'dev' make branch 'myFeature' off of 'dev'
git checkout -b myFeature devgit commit -m "added my github name"

Source

Also in Shell: