Force git user config for each repo
Now you can tell Git not to guess, but rather to insist that you set user.name and user.email explicitly before it will let you commit:
git config --global user.useconfigonly true
Ref: https://github.blog/open-source/git/git-2-8-has-been-released/