2👍
✅
Try this:
git config --get user.email
…and see if it matches.
This is what Vue.init uses in vue-cli/lib/git-user.js
try {
name = exec('git config --get user.name')
email = exec('git config --get user.email')
} catch (e) {}
👤Mark
Source:stackexchange.com