Sparse-checkout for monorepos: keep history, drop the working tree bloat
Use sparse-checkout to keep full Git history while materializing only the directories you need. A cone-mode setup shrinks working tree size and checkout churn in large monorepos without losing log and blame across the repo.