Once in awhile (like today!) I have to zip up a git project to send to someone.
When this happens, obviously don't want to include the .git files, I just want the contents of the repo.
To do this, I use this command:
zip -r my-zippedup-stuff.zip ./directory-of-my-project/ -x '*