how to remove previous repository to add same repository on git code example
Example: delete github repository without browser
winpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER_NAME]/[REPO_NAME]
# follow steps here to generate token:
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line