private static @NotNull String printRefs(@NotNull Set<? extends VcsRef> refs) {
    return StringUtil.join(refs, ref -> ref.getCommitHash().toShortString() + " : " + ref.getName(), "\n");
  }
private static @NotNull String printRefs(@NotNull Set<? extends VcsRef> refs)