feat(builder): automatically run `git gc` on deploy

Ref #987

This should be replaced by a cronjob after we switch to the new init,
but this will do for now.