I get this error in Android Studio:
Can\'t start Git: /usr/bin/git Probably the path to Git executable is not valid.
sudo xcode-select --reset in the terminal instantly solved the problem for me.
sudo xcode-select --reset