Git is extremely slow on Windows

This Stack Overflow post worked for me: Git Bash (mintty) is extremely slow on Windows 10 OS

Old question, I know, but I recently encountered the problem and found the answer - so thought I'd proliferate. Essentially, it was an issue with the AMD Radeon Graphics Driver slowing down mintty. Go to Device Manager, and disable AMD Radeon Graphics in favor of Intel Integrated Graphics. I've tried to find out why, but no luck so far.


If you scenario is like mine, and you don't have an AMD Graphics Driver, then try creating a HOME environment variable which points to your user profile directory (e.g. C:\Users\UserName), as is suggested further down in:

Git Bash Mintty is extremely slow on Windows 10 OS

One caveat... the explanation in that link says to make a new System Environment Variable.

I was able to fix my problem by making a new User Environment Variable, which seems preferable to having a system-wide environment variable pointing to your personal home directory.

The PowerShell way of doing it:

Win+R→type powershellCtrl+Shift+Enter

Set-ItemProperty -Path HKCU:\Environment\ -Name Home -Type String -Value $Env:UserProfile