private static boolean hasGitRoots(@NotNull Project project, @NotNull Set<? extends VirtualFile> roots) {
    return ContainerUtil.exists(roots, root -> isGitRoot(project, root));
  }
private static boolean hasGitRoots(@NotNull Project project, @NotNull Set<? extends VirtualFile> roots)