download git archive code example Example: export zip git project bash git archive --format zip --output /full/path/to/zipfile.zip master