I have added C:\Program Files (x86)\Git\cmd to my path environment variable.
All git commands run successfully but also open a new console which displays git's help.
Running git.exe directly also opens a separate console.
This is quite annoying as I see a popup every time I try to run a git command.