I'd take care of this myself, but Bitbucket seems to have no way of doing so or of contacting support.
I've tried the trick of doing a commit and then resetting to HEAD~1 and doing a force push, but that doesn't work. I even tried pushing the size of my repo up over 3 GB, and then when I did that process, it finally seemed to have kicked in and dropped a little bit from 3.5 GB down to 2.9 GB, but that's still way too large.
On my local file system, with everything pruned and packed, the repo is under 5 MB:
count: 0
size: 0 bytes
in-pack: 13324
packs: 1
size-pack: 4.71 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
But because some developer long ago accidentally committed a video file years ago before I was on this project, I can't get the repo size down, even though I've already modified the history to remove that commit retroactively.
It is ridiculous that there's not a button under the Repository Details tab to force a git gc! It doesn't even seem to be doing periodic garbage collection for maintenance, because I removed that file in July of 2023 when I first started contributing to this project.
Until we got the 1 GB warning email, it didn't even matter, but there's got to be a better way to handle that.