The issue is that after your delete and push branch it isn’t lost forever and it is still in repository.
I’ve deleted branch with big amount of needless files, but as long it is still somewhere in git repository, git clone command duration is too big.
For now only way I see is to delete whole repository and recreate it but without needless branch.
I believe
git gc --prune=nowwill do what you want: clean up unnecessary files from your repository.By default
git gcremoves unreachable commits older than 2 weeks, so adding--prune=nowis what you need.