"Export" a git repository to zip file
git archive --format zip --output /full/path/to/zipfile.zip master