1.  exec(git...) does not work in windows
2. created a spawn instead that does work with the command