Allow git publisher to work on windows

- windows does not understand semicolons in shell commands
- windows does not understand single quotes in shell comands
- there is no `pwd` in windows