If you would like to archive and delete a branch from your branch list:
/* Display list of branches */ git branch /* archive (tag) the branch */ git tag archive/<branchname> <branchname> /* delete the branch */ git branch -D <branchname>
If you need to restore this branch at a later stage:
git checkout -b <branchname> archive/<branchname>
The history of the branch will be preserved exactly as it was when you tagged it.
Source: http://stackoverflow.com/questions/1307114/how-can-i-archive-git-branches