Ignoring .git and hidden files when zip archiving on macOS using the command line
macOS click-and-point file and folder archiving is limited. Often when I need to archive a code project folder that has GIT version control files and other assets I do not want to be zipped. For such a task click-and-point falls short but the command line gets the job done.