Run git-gc on a bare repo

Posting here for posterity since literally every other thing on google simply says “you’ll never have to gc a bare repo, because $reasons” and then doesn’t bother to even entertain the possibility of someone actually having to.

git --bare -C /path/to/your/repo.git gc

So complex and arcane. I can now understand why no one bothered to give an example…