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

This way the patch doesn't include stuff like .gitignore and such.
Merge pull request #11 from morfoh/master

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