The fact that this can even happen is enough for me to never touch this for doing work.
I stopped developing on Windows after the Windows 8 fiasco and I don't see myself ever coming back.
Both Mac and Linux are faster, more convenient, and more solid in my experience.
I considered advising my son to buy a Surface for his school work and developing on WSL2, but I'm glad the M1 Mac came out with a much better cost/performance, so he got one. At least his git repos won't get corrupted.