using gh to make new repo code example
Example 1: gh create github repo
git init
git add . && git commit -m 'Initial commit'
gh repo create
Example 2: create a repo gh
# create a repository under your account using the current directory name
$ gh repo create
# create a repository with a specific name
$ gh repo create my-project
# create a repository in an organization
$ gh repo create cli/my-project