Add git hook for smart commit messages.