Run git init and verify that the user.name and user.email configs are set (at any level).
Throws an error if git init fails.
If user.email and user.name aren't already set globally, and the missing value is provided
in params, set it at the repo level. Otherwise, throw an error.
Run
git initand verify that theuser.nameanduser.emailconfigs are set (at any level). Throws an error ifgit initfails.If
user.emailanduser.namearen't already set globally, and the missing value is provided in params, set it at the repo level. Otherwise, throw an error.