create github repo from command line linux code example
Example 1: create github repo with bash
winpty curl -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/user/repos -d '{"name":"[REPO_NAME_YOU_WANT]"}'
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
Example 2: how to create a github repo on linux command line
curl -i -H 'Authorization: token <your_token>' -d '{"name":"csreNewProj"}' https://api.github.com/user/repos