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