Use bin folder and exe instead. Path will be C:\Program Files (x86)\Git\bin\git.exe
Also sometimes it doesn't work if there are blank spaces in path name as in your program files directory name.
In that case, copy the whole git folder to root of partition and then link studio to it