Jup. You can go into you repository and then pull requests and go to "closed". If you didn't change stuff, you can just click on revert and it will create a new pull request with the old content. If you changed stuff, you can restore the branch, rename it if you want and use it as the main branch for now.