Can't start Git: /usr/bin/git
Probably the path to Git executable is not valid
Then this error when you click the Test button in the control panel
Solution: You need to go to the terminal, run 'sudo git' at the prompt, you will be see the same license text as above, you must agree to the terms before you can run git.
This will allow PHPStorm to access git.