to add— you can keep it simple:
Terminal commands to compare folders / and compare file content:
you can drag and drop the files directly onto the Terminal window for the complete path to your folder/files
ex.
diff -rq folder1 folder2
The -r is recursive and the -q is brief. So it will provide a list of filenames which are different.
diff -r --brief --exclude=.git /path/to/folder1 /path/to/folder2
ex.
files can be compared:
diff (file input 1) (file input 2)
All differences are listed in the output...
if you are returned to the prompt with no difference list...they are exactly the same.
(a little more cumbersome to use the -y flag for side by side comparison)