You probably already figured this one out if you use git. But if you’re new to all of those awesome git tricks, well, here you go.
I always forget to checkout the branch I just created, so having it wrapped up in a single command is absolutely perfect.
git checkout -b [name of new branch]
That takes care of doing
git branch [name of new branch] followed by
git checkout [name of new branch]. Time saving and convenient.