git archive branch code example
Example 1: export zip git project bash
git archive --format zip --output /full/path/to/zipfile.zip master
Example 2: git how to archive a branch
git tag archive/<branchname> <branchname>
git branch -d <branchname>