Git global setup
git config --global user.name "xxxxx" git config --global user.email "xxx@xxx.com"
Create a new repository
git clone https://github.com/datasciencemasters/go.git cd testdemo1 touch README.md git add README.md git commit -m "add README" git push -u origin master
Existing folder or Git repository
cd existing_folder git init git remote add origin https://github.com/datasciencemasters/go.git
git add .
git commit -m "init"
git push -u origin master