This is related to Git Bash (mintty) is extremely slow on Windows 10 OS, but I have also noticed after using Process Monitor that bash.exe is launched 15-20 times in succession when I launch Git Bash from explorer (see screenshot below), which is why it takes 7s (from 12:20:01 to 12:20:07).
Any idea what causes this issue? In particular, is bash.exe trying to use fork()
somehow that doesn't work well with Windows 10?