[Hooks] Be more explicit about creating a commit.