Adds function call to gitEnv in checkGitDir
Adds function call to gitEnv in checkGitDir

In checkGitDir when executing `git config --get remote.origin.url` the gitEnv function is passed to git.whichAndExec instead of the result of that function.

rsp/npm,kemitchell/npm,yodeyer/npm,DaveEmmerson/npm,TimeToogo/npm,yibn2008/npm,segrey/npm,kemitchell/npm,DaveEmmerson/npm,xalopp/npm,evocateur/npm,haggholm/npm,evocateur/npm,rsp/npm,cchamberlain/npm-msys2,Volune/npm,misterbyrne/npm,chadnickbok/npm,chadnickbok/npm,princeofdarkness76/npm,misterbyrne/npm,yodeyer/npm,cchamberlain/npm,DIREKTSPEED-LTD/npm,DaveEmmerson/npm,thomblake/npm,yibn2008/npm,DIREKTSPEED-LTD/npm,evanlucas/npm,TimeToogo/npm,haggholm/npm,xalopp/npm,misterbyrne/npm,rsp/npm,ekmartin/npm,ekmartin/npm,kimshinelove/naver-npm,xalopp/npm,Volune/npm,kimshinelove/naver-npm,princeofdarkness76/npm,thomblake/npm,midniteio/npm,midniteio/npm,princeofdarkness76/npm,evanlucas/npm,kimshinelove/naver-npm,yodeyer/npm,ekmartin/npm,lxe/npm,thomblake/npm,chadnickbok/npm,cchamberlain/npm,lxe/npm,evanlucas/npm,haggholm/npm,TimeToogo/npm,evocateur/npm,midniteio/npm,kemitchell/npm,cchamberlain/npm-msys2,Volune/npm,segrey/npm,cchamberlain/npm-msys2,lxe/npm,yibn2008/npm,cchamberlain/npm,segrey/npm,DIREKTSPEED-LTD/npm