TL;DR: How can I completely remove ALL remains of a (probably) broken Windows Git install so I can start fresh? Looks like something from the previous install is preventing a new one. The "Program Files (x86)\Git" folder was already removed, but nothing changed.
Using Windows 10 Pro 64-bit, I had git installed and it was working just fine. It was installed via Chocolatey, so I had the git
, git.install
, and poshgit
packages. I was not using gitbash, the gui, or the menu integration - I was using it via powershell. I'm not an advanced git user, but I can do the very basic operations.
Suddenly, any git commands (clone, init, add, push) wouldn't execute, powershell would just go unresponsive.
I then uninstalled all of the packages, restarted the computer, and tried installing them once again. The chocolatey installer hangs while trying to install git.install
while it shows "Git setup" and "Git for windows" executing in the task manager.
When trying to install using the windows installer, just to see if I can get it working again, it hangs at the end of the installation, with a "Git for windows" window open somewhere, but when I alt+tab to it, it won't come to the front.
I'm at a loss here, I had this working flawlessly before the Windows 10 upgrade, and it worked just fine too after it, for a while. It just stopped working.