Today I learned you can use git to compare files, even if they aren’t in a repo!
git diff --no-index file1.txt file2.txt