Add checkout branch method

Just a simple addition of standard `git checkout -b <name> <ref>`