1 Create a new repository on the command line 2 3 touch README.md 4 git init 5 git add README.md 6 git commit -m "first commit" 7 git remote add origin https://github.com/itdazhu/itdazhu.git 8 git push -u origin master 9 Push an existing repository from the command line10 11 git remote add origin https://github.com/itdazhu/itdazhu.git12 git push -u origin master