You want to know the differences between similar files : here are some solutions !
As an alternative to the diff command lines there are some GUI programs (like the WinDiff ancestor on Windows).
If you use Eclipse, there's an internal file comparator. Other wise, you may want to use Meld, there are others (Diffuse, K...) but the consensus is on Meld for now.
Happy file comparison ! !