windows: Prefer Git Bash for external agent terminals (#40150)

This applies the same change as #39466 to the terminal codepath for
external agents.

Release Notes:

- N/A

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
97f398e677Cole Miller committed on 10/13/2025, 11:41:22 PM· committed by GitHubparent6a2bad4
1 file changedLine totals unavailable