git: Remove user.{name,email} and add hook

Add a pre-commit hook for checking that the current repo has a proper
user name and email set.