How can I use `git diff --color-words` outside a Git repository?
git diff --color-words --no-index old.txt new.txt
According to a comment from Jefromi you can just use
git diff --color-words file1 file2
outside of git repositories too.
Git version 1.9.1:
git diff --word-diff=color fileA fileB