private static @NotNull Collection<VirtualFile> getGitRoots(@NotNull Project project, @NotNull VcsLogUi ui) {
    return ContainerUtil.filter(VcsLogUtil.getVisibleRoots(ui), root -> isGitRoot(project, root));
  }
private static @NotNull Collection<VirtualFile> getGitRoots(@NotNull Project project, @NotNull VcsLogUi ui)