setx HOME "%USERPROFILE%"
SUCCESS: Specified value was saved
.Install git-osx-installer.
install `git’ from your distro’s package manager.
Adapted from Version Control with Git by Software Carpentry.
git config --global user.name "Liming Wang"
git config --global user.email "lmwang+datascience@gmail.com"
git config --global color.ui "auto"
Let’s turn the RStudio project you have been working on into a git repository and commit it to GitHub by following these steps: http://happygitwithr.com/existing-github-last.html