@Override
    protected @NotNull Stream<? extends GitReference> collectSync(@NotNull CompletionResultSet result) {
      return myBranches.stream()
        .filter(branch -> result.getPrefixMatcher().prefixMatches(branch.getName()));
    }
@Override
    protected @NotNull Stream<? extends GitReference> collectSync(@NotNull CompletionResultSet result)