13
votes

I have just upgraded from OS X 10.11 "El Capitan" to 10.12: "Sierra", and when I open intellijIdea, I get the following error:

Can't start Git: /usr/bin/git Probably the path to Git executable is not valid.

3

3 Answers

19
votes

My problem resolved after running xcode installation with following code from terminal:

xcode-select --install
1
votes

just open xcode then xcode will ask you to accept new agreement press accept and then the problem will be solved

1
votes

In recent MacOS updates the git path is :

/usr/local/Cellar/git/2.16.2/bin/git

Instead of 2.16.2 Choose your version