@Override
  protected @NotNull Stream<? extends VcsRef> collectSync(@NotNull CompletionResultSet result) {
    return filterAndSort(result, myRefs.getBranches().stream());
  }
@Override
  protected @NotNull Stream<? extends VcsRef> collectSync(@NotNull CompletionResultSet result)