I have a GitHub repo that had two branches - master & release.
The release branch contained binary distribution files that were contributing to a very large repo
git gc --prune=now, or low level git prune --expire now.
git gc --prune=now
git prune --expire now