github setup local repository team repository 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: push a project to an existing repoin github using git
$ git init -b main