"git checkout -b" example

Shell
$ git checkout -b new-branch --track origin/developtruelover@PEACE project % git checkout master
truelover@PEACE project % git checkout branch_name
#create branch
truelover@PEACE project % git checkout -b new_branch_name
Source

Also in Shell: