I sometimes convert old branches to tags. So they don't show up in the list of branches, but I never lose any branches by accident.
All those "merged" workflows only work, if you actually merge the branches. It doesn't work with a squash merge workflow.
edit: I delegate this task to a coding agent. I'm really bad at bash commands. yolo!