private boolean shouldUseBatchScript(@NotNull GitExecutable executable) {
    if (!SystemInfo.isWindows) return false;
    if (!executable.isLocal()) return false;
    if (Registry.is("git.use.shell.script.on.windows") &&
        GitVersionSpecialty.CAN_USE_SHELL_HELPER_SCRIPT_ON_WINDOWS.existsIn(myVersion)) {
      return isCustomSshExecutableConfigured();
    }
    return true;
  }
private boolean shouldUseBatchScript(@NotNull GitExecutable executable)