gh repo create repositoryname --public
#to use gh install github cli
#link for installation from differnet os
#https://cli.github.com/manual/installation
#if windows use
choco install gh
#after installation login to github using github cli
gh auth login