I was recently asked to export as a .zip
file one of my projects on my Git repository.
I have actually never had to do this in the 4 years I have been using Git.
I would prefer an answer that is all done inside command line terminal.
git archive --format zip --output /full/path/to/zipfile.zip master