create new github repo from local git code example
Example 1: git create github repo
git init
git add .
git commit -m 'Initial commit'
gh repo create # => With the new GitHub CLI
Example 2: Create Local Github Repo
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/azad-ali786/Code-pen-Clone.git
git push -u origin main