Add a hook to properly `git config user.email` based on remote.