I accidentally added a db dump (over 1 GB) to my repo, pushed it and noticed this few days later. I used git filter-branch to delete the file, expired reflog and run git gc
Can't you just do rm .git/objects/path/to/blob?
rm .git/objects/path/to/blob
I am not sure why git-gc didn't delete it.
git-gc