git: simplfy git config check

 $ git config --get user.name
 $ git config --get user.email

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>