Parametrize usage of git global config

Since related issue is sporadic, disable usage of global
config and make it optional.

Change-Id: I5edffbdc0e845ea600a77c7714cfcf2ec1e988bc
Related-Prod: PROD-28160 (PROD:28160)
1 file changed