For archive the branches that are no longer used I created a function in my .zshrc file (or .bashrc). The content of the branch is saved in a new tag and subsequently deleted.
To make this process faster I created this function in my .zshrc file (or .bashrc).
function archive_branch() {
date=$(date '+%Y-%m-%d')
git checkout master