Git repo size got doubled
Yesterday I was getting an error while pushing my website to git. That error said 'The current branch master has no upstream branch in git'. Then I tried to trouble shoot the issue. As I wasn't able to push on my side. I fixed it by removing local repo and cloning git repo to my local repo folder and then relinking it. It worked well for pushing but then I realised the git repo size got doubled since then. It was nearly 220 MB before and now it shows around 450 MB. How do I fix it?