public static @NotNull Collection<VirtualFile> getRootsFromRepositories(@NotNull Collection<? extends GitRepository> repositories) {
    return ContainerUtil.map(repositories, Repository::getRoot);
  }
public static @NotNull Collection<VirtualFile> getRootsFromRepositories(@NotNull Collection<? extends GitRepository> repositories)