code: function listLocalBranches(repo) {
    return caller.call(repo, repo.branches).then(function (branches) {
      return branches.map(function (branch) {
        return branch.name
      })
    })
  }
docs: /*
  List Local branches