gh repo create project-name
curl -i -H 'Authorization: token <your_token>' -d '{"name":"csreNewProj"}' https://api.github.com/user/repos
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
echo "# project name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/User/repo
git push -u origin main