Do not use the sh variant of getting the git revision on MSVC, even if sh is in path, as MSVC uses cmd internally.