Interview Prep/Git & GitHub/Submodules, LFS and Hooks

`batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.`

IntermediateTroubleshootingSubmodules, LFS and Hooks
Answer

Likely causes → The account or organization exhausted its Git LFS storage or monthly bandwidth. CI jobs that pull all LFS files on every run are the usual culprit.

Diagnose → Check billing (Settings → Billing → Git LFS) and which workflows use lfs: true. Locally: git lfs ls-files -s | sort -k3 -h | tail.

Fix → Buy data packs or raise the budget for immediate relief. Then cut usage: skip LFS in jobs that do not need it (GIT_LFS_SKIP_SMUDGE=1), fetch only required paths (git lfs pull --include="assets/ui/**"), and cache LFS objects in CI.

Prevent → Cache .git/lfs between CI runs and alert on LFS usage before hitting limits.

All Git & GitHub questions Roadmap: Git & GitHub

More on Submodules, LFS and Hooks