Fix for #336

Changes the name of the option to `checkout_branch` from `branch` to more closely match the libgit2 option here http://libgit2.github.com/libgit2/#HEAD/type/git_clone_options