Fixed deleteFromGit to work on windows