Why my Github repository taking up more space than local repository?

One of my local repository is about 1.5 MB in local disc, while the same repository is 21 MB in Github (https://github.com/settings/repositories). Why is so? Previously, I had some bigger files in the repository, but I have deleted all older commits. Thank you.

My issue is resolved. It just took some time to update storage space after the push.