code: public List<CommitRef> getCommitRefs(Object projectIdOrPath, String sha, CommitRef.RefType refType) throws GitLabApiException {
          Form form = new GitLabApiForm()
                  .withParam("type", refType)
                  .withParam(PER_PAGE_PARAM, getDefaultPerPage());
          Response response = get(Response.Status.OK, form.asMap(), "projects", getProjectIdOrPath(projectIdOrPath), "repository", "commits", urlEncode(sha), "refs");
          return (response.readEntity(new GenericType<List<CommitRef>>(){}));
      }
docs: Get a specific commit identified by the commit hash or name of a branch or tag as an Optional instance
  
  <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits/:sha/refs?type=:refType</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param sha a commit hash or name of a branch or tag
  @param refType the scope of commits. Possible values branch, tag, all. Default is all.
  @return Get all references (from branches or tags) a commit is pushed to
  @throws GitLabApiException GitLabApiException if any exception occurs during execution
  @since Gitlab 10.6