Returns the list of all local branches

await repo.branchList()

Example

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