# 1) Stop scanning untracked files for status
git config status.showUntrackedFiles no
# 2) Cache untracked discovery
git config core.untrackedCache true
# 3) Use filesystem notifications (built-in fsmonitor)
git config core.fsmonitor true
# 4) (Optional) Sparse-checkout only necessary paths
git sparse-checkout init --cone
git sparse-checkout set src tools configs
# 5) GUI: hide ignored/untracked, exclude repo from AV scanning