When you test a package here that has a Customizations.cs file in the corresponding checked-in referencePackages folder, the diff will fail because the file exists on the baseline (left) but not on the right hand side. Docs tell me that you can exclude files from the git diff command:
git diff -- . ':(exclude)db/irrelevant.php' ':(exclude)db/irrelevant2.php'