Takes a lot of inspiration from the usethis use_git()
function, except
it only adds Git and nothing more (doesn't commit, doesn't restart RStudio
automatically). Must run this function inside the project you created from
setup_project()
.
See also
setup_project()
for starting the project.