Fetch user's name and email from Git config instead of GitHub's API

Instead of requesting GitHub's API just to get user's real name and email, why not get it from git config? 

https://github.com/yeoman/generator/blob/master/lib/actions/user.js#L15-L42?