check/sanitize committer/author e-Mail address
git is stripping some characters from the name/email address like <, >, \n
https://git-scm.com/docs/git-commit#_commit_information
With go-git if we do something like this (see Email field):
w.Commit("bad commit", &git.CommitOptions{ Author: &object.Signature{ Name: "Wooops", Email: "<", When: time.Now(), }, })
We'll end up with git fsck errors like:
error in commit 438bfa0c6212aea91d9d7af14e8e5fe405c0d6b4: badEmail: invalid author/committer line - bad email