You can do a "git checkout master". Then a "git checkout -b new_branch" "git checkout -b foo" is the short form for "git branch foo" and "git checkout foo" afterwards.