git maintenance (start
git maintenance (start | stop | run [--task=<task>])
Risk: Safe
What it does
Keeps a repo fast with small tidy-up jobs, in the background.
When to use it
For a big repo you use every day.
Example
$ git maintenance startRun the jobs on a schedule for this repo.
$ git maintenance stopStop the scheduled jobs.
Learn it in: Packfiles, gc and maintenance · Official docs