docs: public List<Branch> getBranches(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
          Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects",
                  getProjectIdOrPath(projectIdOrPath), "repository", "branches");
          return (response.readEntity(new GenericType<List<Branch>>() {}));
      }