How can I get output like in git diff --color-words, but outside Git?
git diff --color-words
Closest thing is wdiff -t, but it underlines/inverts things instead
wdiff -t
According to a comment from Jefromi you can just use
git diff --color-words file1 file2
outside of git repositories too.