Your large repo was fast after `git maintenance start`, but months later it is slow again and no maintenance seems to run.
IntermediateTroubleshootingRepository Health, Size and Performance
Answer
Likely causes → The scheduler entry is gone (new laptop, OS reinstall, cron/launchd/systemd timer removed), the repo moved to a new path so maintenance.repo points at the old one, or the repo was never registered on this machine.
Diagnose →
git config --global --get-all maintenance.repo
crontab -l | grep 'git for-each-repo' # Linux cron
systemctl --user list-timers | grep git-maintenance # systemd scheduler
Fix →
git config --global --unset-all maintenance.repo /old/path/app
cd /new/path/app && git maintenance register
git maintenance start
git maintenance run --task=gc # catch up once now
Prevent → Include git maintenance start in the machine bootstrap script, and re-register after moving repos.
More on Repository Health, Size and Performance
`git status` takes 8–15 seconds in a large monorepo.Intermediate`error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log` followed by `warning: There are too many unreachable loose objects; run 'git prune' to remove them.`IntermediateEvery few commands Git prints `Auto packing the repository in background for optimum performance.` and the machine stutters.BeginnerA fresh clone downloads 4 GB, but the checked-out files are only 200 MB.Intermediate`git gc` or `git clone` dies with `fatal: Out of memory, malloc failed (tried to allocate 1073741824 bytes)` or `error: pack-objects died of signal 9`.Advanced`error: unable to create temporary file: No space left on device` followed by `fatal: failed to write object`.Beginner