git remote add origin https://github.com/USERNAME/PACKAGE.git
(this will add the origin to the RStudio options - Tools > Project options > Git/SVN)
git add .
git commit -m "initial commit"
git push -u origin master