Goal: type .\some-script.sh in a Windows Terminal PowerShell tab and have it run in that same window using Git Bash — instead of a separate Git Bash window that flashes open and closes.
Tested on Windows 10/11, Windows PowerShell 5.1 and PowerShell 7, with Git for Windows.