Check the result, not the config: how git-wrong-email works
git-wrong-email is a shell script that refuses to let a commit with the wrong email leave the machine. Why the hook that matters most is pre-push, what it costs to install a global hook without switching off every repo's own hooks, and what it still misses.