Why is git slow on my windows machine?

8.2k Views Asked by At

Just typing git at the command prompt (of powershell), takes 2.5 seconds until it returns with the help message.

I'm using the git for windows release, installed in C:\Program Files (x86)\Git. When I use cygwin (via babun), I get an error: Hint: your prompt is very slow. Check the installed 'BLODA' software. Maybe this is related? If it is, I'm using a corporate laptop, so can't uninstall antivirus or driver software, are there other options?

2

There are 2 best solutions below

0
On BEST ANSWER

For me the reason seemed to be the "Inject ConEmuHk" setting in cmder under which I ran git. I've opened a bug https://github.com/bliker/cmder/issues/592

2
On

Try and see if the issue persists with the latest 2.4+ git for Windows release.

There is a bug related to the git bash startup time which is actively addressed.