A simple way to extract out all the contents of a .gitconfig file and return as JSON
Resolve the path to the user's local or global .gitconfig.
Read user name, email and URL from .npmrc or .gitconfig
Get a user's name from git config at the project or global scope, depending on what git uses in the current context.