git how to archive a branch code example Example: git how to archive a branch git tag archive/<branchname> <branchname> git branch -d <branchname>