Returns the list of all local branches

await repo.branchList()

Example

[
  {
    "name": "master",
    "isCurrent": true,
  },
  {
    "name": "feat/branch-list",
    "isCurrent": false,
  },
  [...]
]