What I did to use git with Rstudio on Ubuntu 16.04 and Elementary OS Loki.

You may also like...