Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Git is not installed' on intellij

Hi i am trying to link up my a java group project from github to intellij. However i keep getting this issue with Git, i download it but then i try again and it asks me to download it again?

enter image description here

I've looked up the 'Paths to Git executable' and this is what it shows

enter image description here

But i really don't understand why this is not working. I am new to github and would really appreciate some help on this!

like image 880
yt. Avatar asked Sep 06 '25 12:09

yt.


2 Answers

I noticed that I had the same problem after installing Github Desktop for a few days. I uninstalled it because I was just testing it anyway and found my git in my system by the following code:

which git

That command showed me the following output:

/usr/bin/git

So I entered this into 'Path to Git executable' in the Preferences > Version Control > Git. And restarted the IDE. Everything works now...

like image 58
ahmetcgl Avatar answered Sep 08 '25 05:09

ahmetcgl


For me, I can see the git is installed on me, but somehow Android Studio could not find it.

in Android Studio, File -> Invalidate Cache -> Invalidate and Restart

Will fix the issue for me.

like image 32
Francis Bacon Avatar answered Sep 08 '25 07:09

Francis Bacon