code: public Pager<Branch> getBranches(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
          return (new Pager<Branch>(this, Branch.class, itemsPerPage, null, "projects",
                  getProjectIdOrPath(projectIdOrPath), "repository", "branches"));
      }
docs: Get a Pager 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
  @param itemsPerPage the number of Project instances that will be fetched per page
  @return the list of repository branches for the specified project ID
  
  @throws GitLabApiException if any exception occurs