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.
I can't decide if `git gc` returning an error is important enough to report or not... I'm fine with ignoring the return value, but then maybe we shouldn't assign it to `rc`.