code: public String getCommitIdAbbrev() {
          final String id = getCommitId();
          return (id.length() > 7 ? id.substring(0, 7) : id);
      }
docs: Return the abbreviated id of the commit or {@code null}.
  
  @return the short commit id