private @NotNull GitCommandResult doLsRemote(final @NotNull Project project,
                                               final @NotNull File workingDir,
                                               final @NotNull String remoteId,
                                               final @NotNull Collection<String> authenticationUrls,
                                               final @NotNull List<String> refs,
                                               final String... additionalParameters) {
    return runCommand(() -> {
      GitLineHandler h = new GitLineHandler(project, workingDir, GitCommand.LS_REMOTE);
      h.addParameters(additionalParameters);
      h.addParameters(remoteId);
      h.addParameters(refs);
      h.setUrls(authenticationUrls);
      return h;
    });
  }
private @NotNull GitCommandResult doLsRemote(final @NotNull Project project,
                                               final @NotNull File workingDir,
                                               final @NotNull String remoteId,
                                               final @NotNull Collection<String> authenticationUrls,
                                               final @NotNull List<String> refs,
                                               final String... additionalParameters)