ah i didn't use createBranch because it wasn't in `0.9.6` (the last version gh-book was using. i can refactor that for readability