This video walks you through how to install git and GitHub and connect them with R Studio. Follow along with documentation at: https://github.com/llendway/github_for_collaboration/blob/master/github_for_collaboration.md