*/
export function formatGitError(args: readonly string[], timeoutMs: number, didTimeOut: boolean, error: cp.ExecFileException, stderr: string): string {
let reason: string;
if (didTimeOut) {
reason = `git ${subcommand} timed out after ${timeoutMs}ms`;
reason = `git ${subcommand} killed by ${error.signal}`;
} else if (typeof error.code === 'number') {