# create and checkout a new branch in HEAD position
git checkout -b new_branch
truelover@PEACE project % git checkout master
truelover@PEACE project % git checkout branch_name
#create branch
truelover@PEACE project % git checkout -b new_branch_name
$ git fetch
$ git checkout <branch>