The full command like could be something like this:
git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin
I have a feeling it has to do with authenticating git command to the git server, but I do not understand how does it work.