Issue #15834 new
How to reproduce:
- generate ssh key on your computer and add that key to your account with email1
- set in git config --local(or --global) user.email "email2"
- try to commit something. You will see that email2 user has made commit. But ssh was attached to email1 account.