Reinstalling Git on Windows
Matthew Barrera
Git bash stopped working for me not sure if i messed up some system variables or something but when i uninstall and try to reinstall i get a series of unable to set system config errors
Error 1
Error 2
Error 3
2 Answers
It looks like it's trying to access C:\\.config and is unable to. Try moving that folder our of the way and doing the install again. I think if it's not there it creates it during the install.
1So I finally figured it out, Went into the registry editor and found all instances of git including the path variable and deleted them, restarted computer and reinstalled git bash successfully, I also deleted a HOME variable that I had created right before bash originally stopped working so not sure if that was a factor as well. This short video on youtube helped-
1