Someone with a windows build should spend some time to see why this happens.
From the docs a possible cause is incorrect return value by git.exe.
Can you switch to "Launch the tool visible detached" and report if it fixes the problem?
Important The GetExitCodeProcess function returns a valid error code defined by the application only after the thread terminates. Therefore, an application should not use STILL_ACTIVE (259) as an error code. If a thread returns STILL_ACTIVE (259) as an error code, applications that test for this value could interpret it to mean that the thread is still running and continue to test for the completion of the thread after the thread has terminated, which could put the application into an infinite loop.
I don't know.
First you have to check what is the exit code of git. If it is 259 then it is an issue in git, but I doubt it returns this error code, because git is a unix software and there the exit code is 8bit.
After you know the exit code of git we could have a better idea where to look for the problem. I'm not on windows, so I cannot check this.
I guess you have to report this to your vendor of git.exe.
#include <windows.h>
#pragma comment (lib,"shell32.lib")
int main()
{
ShellExecute(0, "open", "git", "gui", NULL, 0);
return 0;
}