generate-patch.sh: exclude git related files from the patch

This way the patch doesn't include stuff like .gitignore and such.