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