Under the hood
Git subprocess calls widely switched to a new environment-builder in place of the old one
What
Many internal functions that invoke git (for status, diff-cost estimation, worktree creation and removal, rev-parse, and config listing) were changed to build their process environment using a new helper instead of the previous one, and several of these now pass along a value scoped to a specific repository.
Why
This is an internal refactor to how git subprocesses get their environment variables; it doesn't change what these git operations do, but centralizes and scopes how their environment is constructed.