git: Add a post-update hook for new repositories.