public static void updateRepositories(@NotNull Collection<? extends GitRepository> repositories) {
    for (GitRepository repository : repositories) {
      repository.update();
    }
  }
public static void updateRepositories(@NotNull Collection<? extends GitRepository> repositories)