@Override
  public int compareTo(GitReference o) {
    // NB: update overridden comparators on modifications
    return o == null ? 1 : REFS_NAMES_COMPARATOR.compare(getFullName(), o.getFullName());
  }
@Override
  public int compareTo(GitReference o)