The environment variable HOME is a well-known concept on Unix/Linux, but not so much on Windows. In fact, there are competing concepts, and they fulfill separate roles. Let's try to map the closest that we can find to HOME so that Git is happy. Git for Windows carries this patch since 2015, so I think we're pretty sure that our chosen strategy works. Karsten Blees (1): mingw: initialize HOME on startup compat/mingw.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: aa25c82427ae70aebf3b8f970f2afd54e9a2a8c6 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-218%2Fdscho%2Fmingw-home-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-218/dscho/mingw-home-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/218 -- gitgitgadget