gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)

2 files changed