What's wrong with just deleting the whole folder and clone repo and whatever branch you're interested in? In any case it's not an urgent thing. You don't have to do this mid-work, you can wait until you push most stuff and then rm && git clone.
The only case in which this wouldn't work is when you have a ton of necessary local branches you can't even push to remote, which is a risk and anti-pattern per se.
doesn't your precious stash deserve an external folder or remote branch, in any case? the local repo is always a risk, so many things can ruin it.
also, you only need to clean up like once a year, it's by definition a rare operation. A ton of branches doesn't grow overnight.
In addition to the already mentioned stash, which I often have stuff in for months, there is also all the commits not reachable from any branch and all the history of any branch I ever created. Throwing all that away would be quite a disruptive change for me.