create new repo command line code example
Example 1: create new repo cli
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
Example 2: create new repository on the command line
git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master