This is more of an annoyance rather than a problem but I would very much like to understand the semantics here.
All I want to do is to run an arbitrary command on a
Because you mention that you're using the Git for Windows bundle, I figured I'd point out that it includes winpty, which seems to be quite readable.
winpty
$ winpty echo test test $ site="Default Web Site" $ winpty 'C:\Windows\System32\inetsrv\appcmd' list site "${site}" /text:ID 1