michael/github — pull request #37 by itsjoesullivan (2013-02-03 00:58:55+00:00)
Title: Creates repo.branch function , closes #36

```js
repo.branch(oldBranchName,newBranchName,cb)
```

or

```js
repo.branch(newBranchName,cb) //default branches from "master"
```

Under the hood, it's just creating a new ref under refs/heads of the ref for the old branch.