In our CI/CD pipeline we wrongfully executed some subtree commands
git remote add -f somename someremoterepo
git subtree add --prefix ui somename develop --squash
This resulted in copies of the other repository being pulled in with every merge. Consequently our repo grew too fast.
We removed the faulty git subtree code, but our repo is now filled with floating subtree references and I have no clue on how to delete them.
The size of the REMOTE repository is already +1Gb where actuals source (local git) is +/- 100Mb. Any suggestions on how to tackle this?