Revert "fixes pathspec error for commit and tag for windows"

This reverts commit 7f7c0a4fed89b4f127983643d51da84b3947ced5.
fixes pathspec error for commit and tag for windows
Revert "fixes pathspec error for commit and tag for windows"

This reverts commit 7f7c0a4fed89b4f127983643d51da84b3947ced5.
fixes pathspec error for commit and tag for windows

spawn can't handle ' on windows so have replaced them with ".