refactor: simplify git-prune-branches

@kevgo
This is a strange method. It is oddly high-level, and doesn't do much that makes sense by itself. Only updating the main branch and then going back to the feature branch doesn't seems bizarre and unintuitive.