Mac OS: Source Control tab says Git is not installed

Hi,

The Source Control tab always says that I need to install Git or provide its path:


However, Git is correctly installed on my machine, and the path is set correctly. Here is my settings.json:

{
    "php.validate.executablePath": "/opt/homebrew/etc/php/8.2",
    "editor.multiCursorModifier": "ctrlCmd",
    "autoalign.moveableItems": [
        "=>",
        "=",
        ":",
        "+=",
        "-="
    ],
    "git.path": "/opt/homebrew/bin/git"
}

And which git in the terminal gives me: /opt/homebrew/bin/git

I have no issues using Git in VS Code, Tower, Terminal… Which leads me to believe the problem is specific to Cursor.

Any help would be greatly appreciated!

Thank you in advance.

Also happening to me. It seems like quite a few people are dealing with various source control/git issues.

@jxp did you have any luck with this?

Unfortunately, I still have this issue :frowning:

Same issue -

  • New install on MacOS 15.0
  • App was installed via another user account initially not sure if that matters
  • Settings updated in Cursor to point to system git /usr/bin/git with no change in status

Edit - tried reinstalling as current user, no change

I solved this on my machine by granting “Full Disk Access” to the Cursor app. It’s under “Privacy & Security” in the MacOS settings. It probably can’t execute anything in “/opt/homebrew” otherwise.

1 Like