I earlier pushed many files to git, many of them where unwanted. I followed the following to remove those unwanted files (jar/lib/ide files etc).
Basically I did,
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch target'
I verified in github those files don't exist anymore. When I download my repo as zip in github its less than 1MB, however when I do a git clone, its still 100MB.
Upon further research I found after cloning,
MyRepo/.git/objects/pack/pack-b6b2b82ecd58c551c3648b9ca97e4f8b29rrt3c2.pack
is 99.8 MB. How can I get rid of this?