public static string FormatCliCommand(string gitCommand, bool appendNextLine = true) { var git = FileHelper.GetMSysGit(); return($"echo ^> {Path.GetFileNameWithoutExtension(git)} {gitCommand} && \"{git}\" {gitCommand}{(appendNextLine ? " && " : string.Empty)}"); }