Rstudio problem with finding git in macOS
you may want to add that sometimes, Rstudio is not loading the last git.exe you have and then it is not working. one then needs to go to the global options and browse for the latest git version, home-brew is installing is in the local folder: /usr/local/git/bin/git while rstudio first check at usr/bin/git.
got the problem several times...