private @NotNull @NlsSafe List<String> getErrorOrStdOutput() {
    if (!myErrorOutput.isEmpty()) return myErrorOutput;
    if (success()) return Collections.emptyList();
    if (!myOutput.isEmpty()) return myOutput;
    return Collections.singletonList(GitBundle.message("git.error.exit", myExitCode));
  }
private @NotNull @NlsSafe List<String> getErrorOrStdOutput()