refactor: simplify git-prune-branches

@kevgo
I do not understand your comment.

The idea here is the rest of the code was unneeded to pass the current tests. There is no reason for this function to touch the main branch, thus just need to fetch to get up to date branch information.