Interview Prep/Git & GitHub/Hooks, submodules, LFS and signing

What is `git maintenance` and which tasks does it schedule?

AdvancedConceptHooks, submodules, LFS and signing
Answer

It runs repository upkeep in the background through the system scheduler: prefetch, commit-graph, loose-objects, incremental-repack, gc. git maintenance start registers hourly and daily jobs so foreground commands stay fast on big repos.

git maintenance start
git maintenance run --task=commit-graph
All Git & GitHub questions Roadmap: Git & GitHub

More on Hooks, submodules, LFS and signing