From the [online documentation](http://www.nodegit.org/api/repository/#createBranch), you can see that the `createBranch(*)` function takes five parameters. However, if you look at the [actual code](https://github.com/nodegit/nodegit/blob/cd5c051320f1dc8d4fb97d139371fad8f1819c20/lib/repository.js#L387-L398), you will see that there are only three parameters.
From the online documentation, you can see that the
createBranch(*)function takes five parameters.However, if you look at the actual code, you will see that there are only three parameters.