General Tips
- If 2 files are formatted differently,
you can first format them and then check the differences between them.
An extreme way is to get rid of all white spaces in the 2 files and then compare them.
sed -i 's/ //g' file_1 file_2
Command-line Tools
git-diff
git diff …