generate a github repo code example
Example 1: starting a new github repo
//it assumes theres at least one commit on the local repo
git init
git remote add origin [email protected]:username/new_repo
git push -u origin master
Example 2: git create github repo
git init
git add .
git commit -m 'Initial commit'
gh repo create # => With the new GitHub CLI