I have tried both the Git shell installed by GitHub and that provided by Git for Windows on my Windows Server 2012 R2 virtual machine on XenServer 6.20
With each, git command line calls fail with the message
sh.exe has stopped working (APPCRASH)
This is a recent problem. Can anyone advise me of a solution?
The issue appears to be caused by the XenServer 6.20 Guest tools I installed after first installing git.
There is an update for Windows Server 2012 R2. Alternatively, you can uninstall the guest tools, which is what I did.
FYI, I also posed this solution at jira.atlassian.com