DEFAULT_ENV_ALLOWLIST
constDEFAULT_ENV_ALLOWLIST: readonlystring[]
Defined in: src/core/env.ts:38
Curated allowlist of environment variables inherited by default.
These are variables Git (and the tools it shells out to, such as ssh and credential helpers) commonly needs to operate. The list intentionally excludes arbitrary application secrets so they are not silently forwarded to Git subprocesses.
Variable names are matched case-insensitively on Windows.