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.


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

xcode-select --install
| improve this answer | |

Do you have Xcode installed? Try xcode-select -p to print where the system thinks it is, and xcode-select -s /path/to/Xcode.app to tell the system where it is. (Git is stored inside Xcode.)

| improve this answer | |

In recent MacOS updates the git path is :


Instead of 2.16.2 Choose your version

| improve this answer | |
  • You have shared the path for Git installed via Homebrew. OP has not mentioned if he has installed Git via Homebrew or not. – Nimesh Neema May 5 '18 at 10:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .