the path to the original file on disk
the path to the modified file on disk
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
Non destructively perform a formatted diff using git to diff on words
The underlying git command behind this is: git diff --word-diff=color --word-diff-regex=. file1 file2