Git's mitigations:
- https://git-scm.com/docs/git-update-index#_untracked_cache
- https://www.git-scm.com/docs/git-fsmonitor--daemon
Could we speed up the following:
- https://git-scm.com/docs/git-fsck
- https://git-scm.com/docs/git-repack
- https://git-scm.com/docs/git-gc
How to do event-driven processing (like epoll) on a directory?
Should we allow running a command on changes?