How to reconnect to new github repository

So i have created a project and had a github repository for it but the repository is now broken and wont work. So i want to Delete the connection between the two so i can create a new repository and upload the current files there.

create a new repo, and use git remote to change your repo address