As per https://stackoverflow.com/questions/8507368/programmatically-not-manually-finding-the-path-where-git-is-installed-on-a-win
It looks like one could use the winreg in order to find git executable. Is this something you tried or are willing to take patch?