you can try to clone the repo and delete this one This will give you a clean copy of the remote repository without any local changes or commits.