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