commit: run git gc --auto just before the post-commit hook