from a windows command navigated to git bin folder one can execute: bash.exe –login -i to start a nice shell if this line is given another parameter its assumed to be a script file which is executed. Additional arguments are passed to the script file as arguments. bash.exe –login -i “myscript.sh” “arguments”