No source control providers registered - How to register SCM in visual code on mac?

I had this issue on Mac OS and I found that I had to go into Code > Preferences > Settings. Search for Git and then Scroll down until the Entry for Git: Path is found. Click edit in Settings. Follow the instructions.

I found the path to Git in a terminal

# which git
/usr/local/bin/git

Add to the end of the override file (in the right hand window of the VS Code settings editor, "" included.)

"git.path": "/usr/local/bin/git",

Now Git works.


This video worked for me. Really weird. But somehow I seem to have disabled my builtin git extension. https://www.youtube.com/watch?v=nFzQnl44_70