the modified string to diff
the extension to use for the tmp files, used for formatting
the return value contains the path to the directory for further inspection, the terminal-printable diff (output of git diff) which can be printed to the console, and the diffCommand to generate the diff for use in other tooling
the original string to diff