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