private static @NotNull List<@NonNls String> getConfigParameters(@Nullable Project project,
                                                                   @NotNull List<@NonNls String> requestedConfigParameters) {
    if (project == null || !GitVersionSpecialty.CAN_OVERRIDE_GIT_CONFIG_FOR_COMMAND.existsIn(project)) {
      return Collections.emptyList();
    }

    List<@NonNls String> toPass = new ArrayList<>();
    toPass.add("core.quotepath=false");
    toPass.add("log.showSignature=false");
    toPass.addAll(requestedConfigParameters);

    if (ApplicationManager.getApplication().isUnitTestMode()) {
      toPass.add("protocol.file.allow=always");
    }

    return toPass;
  }
private static @NotNull List<@NonNls String> getConfigParameters(@Nullable Project project,
                                                                   @NotNull List<@NonNls String> requestedConfigParameters)