Git for RStudio on M1 Mac

I haven't used version control for a while and I am having trouble getting version control to work. I am running RStudio on an M1 Macbook from 2020. I have installed git from homebrew. It looks like my git is installed in the directory:

/opt/homebrew/bin/git

However, Rstudio is looking to:

/usr/bin/git

I believe if I can change my git install directory or the Rstudio path, then the problem should be resolved, but I can't figure out how to do that. I have reviewed the community and have not found a solution. Thanks to anyone who can help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.