code: def branches():
      # type: () -> List[str]
      
      out = shell.run(
          'git branch',
          capture=True,
          never_pretend=True
      ).stdout.strip()
      return [x.strip('* \t\n') for x in out.splitlines()]
docs: Return a list of branches in the current repo.
  
      Returns:
          list[str]: A list of branches in the current repo.