Warning: This process rewrites history. Teams beware!
I've found this useful to remove images from being stored within a Statamic website's repo and instead being backed-up to Digitalocean spaces. GitHub recommends this and I've followed this process a few times. Your mileage may vary.
1. Check current size of repo (on dev server or locally):
- Nav to repo