git: Pass project environment to git binary invocations (#26301)

Closes #26213 

Release Notes:

- Git Beta: pass down environment variables from project to git
operations
b91e929086Cole Miller committed on 3/10/2025, 4:12:46 PM· committed by GitHubparent013a646
6 files changedLine totals unavailable