The .git folder can cause a project to over the size limit

I had to wipe my .git folder because of this, but Glitch’s rewind feature caused the .git folder to go over 300mb. I downloaded ncdu (ncurses disk usage) and well, this showed up

I thought it could be the databases, but it’s just the .git folder. Git is what powers the rewind feature. I’m assuming a bunch of data got written, and over the course of maybe a month, the git folder expanded a lot because of all of the commits caused by the rewind features