delete a github repository using bash code example
Example 1: How to upload a files to a repository on github using gitbash
git init
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master or git push -f origin master
Example 2: git clone repo with name
git clone https://github.com/foo/repo_name.git new_directory_name
Example 3: delete a github repository using bash
winpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER]/[REPO_NAME]
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line