I'm currently trying to get Rstudio to work with git repositories. When I set up a new project and assign a git repository, the branch is set to Master, and the active, pull and push buttons are active. Everything works perfectly. Then at some point the branch switches to (No branch), and the commit, push and push buttons are grayed out (shown below). This happens with every git project that I do. First, gray is executed first.

I can still use the git commands from Shell, but the GUI does not work.
I spent some time browsing the customer support and googling forums. One site I found ( https://www.r-bloggers.com/things-i-forget-pushpull-greyed-out-in-rstudio/ ) indicated that there was a problem in the configuration list. However, when I do git config --list , I find that I do have branch.master.remote=origin and branch.master.merge=refs/heads/master at the bottom of the configuration.
I also tried to execute git push -u origin master , but that didn't work either.
I use RStudio and github daily, and I would be so happy if the GUI worked correctly again.
I would really appreciate it if someone would help me solve this problem.
EDIT: I am using OSX 10.9 Mavericks and Rstudio version 0.99.903.
source share