Jan-Philipp Litza

locate -b0 \\.git|xargs -t0i -n1 sh -c 'git -C "$(dirname "{}")" gc --quiet --aggressive;git -C "$(dirname "{}")" fsck --full --no-progress'

(räumt alle git-Verzeichnisse auf)