how to remove forked repository from github code example
Example 1: how to unfork a repo
Currently, Github doesn't have an unfork option, so the only solution is to delete the forked repo.
Warning: The following solution will delete your cloned repo. ...
Step 1: Go to Settings of Repo you want to un fork.
Step 2: Click Delete this Repository.
Step 3: Enter your name / Repo name.
Example 2: delete a fork github
# New instructions here:
https://docs.github.com/en/github/administering-a-repository/deleting-a-repository
Deleting your forked project will do nothing to the original project.
Editing it will only edit your fork on your repo page.