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

Closes #987

This should be replaced by a cronjob after we switch to the new init,
but this will do for now.
Not sure we need to, unless a failed `git gc` can cause repercussions elsewhere.

And agree that we should clean up the blank line.