Set the variable in git config rather than environment.