[Bug 46635] git for windows works or crashes depending on how its invoked