Fixes on top of git to make WinGit work better