I just updated to macOS Catalina (v10.15) and found out that neither git commands nor the 'git' pane is available in RStudio after this update.
Now when I open the Terminal pane in RStudio and type:
git status
I get this error:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun
How to solve this? I downloaded and reinstalled the latest git (2.23.0) but that's not working. I use the latest RStudio (1.2.5001) with R 3.6.1.
I changed to the zsh shell as Terminal.app suggested when I opened it after the update, with chsh -s /bin/zsh.