code: public List<Branch> getBranches(Object projectIdOrPath) throws GitLabApiException {
          return (getBranches(projectIdOrPath, getDefaultPerPage()).all());
      }
docs: Get a list of repository branches from a project, sorted by name alphabetically.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/repository/branches</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @return the list of repository branches for the specified project
  @throws GitLabApiException if any exception occurs