I am not able to clone a repository from Intellij IDEA and fails with the below error, shown in the image.
However, I am able to clone the repository from command prompt successfully, shown in the below image.
Note that I have added the public key file to the Bitbucket successfully. Also, the below image shows the contents of the 'config' file as well.
As suggested in the comments, I have run the which git command and it points to the location /usr/local/bin/git as shown in the below image:
Also, IntelliJ's settings for 'Version Control' > Git also points to the same location i.e., /usr/local/bin/git as shown in the below image:
I have also provided the Intellij console tab error details in the below image:




