Determine presence of sh.exe in path manually to see which command should use to generate the GIT revision. Closes #168.
Merge remote-tracking branch 'upstream/master'