Removing a project from GitHub almost always means deleting the repository, which requires the Owner or Admin permission on the repository and, for repos with data you want back, a copy saved first. GitHub warns you that deletion is permanent. The exact interface differs between the web, the desktop app, and mobile, so pick the route that matches what you actually mean by "remove."

"Remove" can mean four different things on GitHub

Readers use "remove a project" for at least four actions, and picking the wrong one wastes time or destroys work you meant to keep. Before you click anything, match your intent to one row below.

What you probably mean What actually happens Who can do it
Delete the whole project (repository) The repo, its history, issues, pull requests, wiki, and releases become inaccessible Repository Owner or Admin (settings access)
Delete a GitHub Project (the planning board, separate product) The Project and its views close; linked issues are not deleted Project admin
Make the project invisible to the public The repo and its code go private; contributors keep access Repo Owner or Admin
Delete locally on your computer and stop syncing Your local folder is gone; the remote repo remains on GitHub Anyone with local filesystem access

The first row is the most common meaning. The rest appear in searches often enough that skipping them creates confusion.

What deletion actually destroys, and what survives in forks

Deleting a repository is not the same as archiving it. GitHub's documentation warns that when you delete a repository, "some data will be permanently deleted," including issues, pull requests, comments, and the wiki. GitHub's repository-deletion documentation also notes issues, comments, and pull requests tied to the repo are deleted and cannot be restored.

Two things commonly surprise people:

Code already in a fork survives the original deletion. If someone forked your project, that fork is a separate repository with its own history and stays online. Search results and cached pages in third-party engines can linger for days to weeks after deletion. GitHub's own search drops the repo when the deletion propagates, but external indexes are outside GitHub's control.

If visibility rather than destruction is the goal, making a repo private is reversible and preserves issues and history. Deletion isn't. That's the single biggest decision boundary in this whole task.

Prerequisites before deleting a repo you actually care about

Save a full copy before you delete, even if you're sure. Once deleted, GitHub cannot recover the repository per its own documentation; the only recovery path is a local clone or an export you made.

Check four things first.

1: Confirm you have Owner or Admin rights. On a personal account that's you. In an organization, a repository Owner or a member granted Admin by an org owner can delete. 2: Export anything external to the repo, like a wiki, because wikis are deleted with the repo unless separately cloned. 3: Save open issues you still need. Issues disappear with the repo; an Issues export to CSV exists in GitHub's bulk-export tooling, but confirm wording on the current GitHub interface because labels shift between versions. 4: Download a fresh copy with git clone --mirror if you need full history including branches and tags.

Mirror clone preserves every ref. A regular clone skips some remote branches and won't include the wiki or releases.

Removing a project from GitHub: the six-step deletion path

These steps reflect GitHub's current repository-settings flow. Menu labels can shift between releases, so I'm giving the action in plain terms alongside the label. If your interface shows a differently worded option, find the equivalent under the repo's Settings tab.

1: Sign in and open the repository's main page, not your profile. 2: Click Settings. If you don't see Settings, you don't have Owner or Admin access on that repo. 3: Scroll to the bottom of the Settings page to the Danger Zone section. 4: Click Delete this repository. GitHub opens a confirmation dialog asking you to type the repository name. 5: Type the exact owner/repo string, or the repo name as GitHub prompts, matching case exactly as GitHub displays it. 6: Click the final confirmation button labeled "I understand the consequences, delete this repository" or similar wording. GitHub returns you to your profile with a green banner confirming deletion.

Success check: reload the old repo URL. It should return a 404. If it still loads, the deletion failed silently — usually because your session lacks Owner rights, in which case you must ask an organization owner.

If you arrived from a mobile browser and the Settings link is hidden, desktop view is the reliable path. The GitHub mobile app can't delete repositories or edit project boards as of November 2026; do those actions on desktop.

Removing a GitHub Project (the planning board, not the repo)

GitHub Projects are a separate product that lives inside a repository or an organization. Removing one does not touch the underlying code or issues.

Open the project, click the three-dot menu (...) in the top right, and choose Close or Delete depending on whether you want to reopen it later. The interface asks for confirmation. Linked issues stay in their repositories; only the board and its views disappear. If your project is attached to an organization, an org owner may need to adjust role permissions before you see the delete option.

What about removing a project from the GitHub Desktop app?

GitHub Desktop has a "Remove" action on a local repository, and it's the most misread menu in the app. It does not delete anything on GitHub. It only detaches the folder from Desktop's repository list; files stay on your disk until you delete them yourself.

In current Desktop builds, right-click the repository in the left sidebar and choose Remove. If you want to delete the remote, use the Tokyo described above in the web interface. Confusing the two is a common cause of "I removed the project but it's still on GitHub."

Cleaning up locally after the remote is gone

Once the remote is deleted, your local clone still exists and will fail to push. Clean it up in three moves.

git remote -v to see the remote entry pointing at the old URL. git remote remove origin to detach the dead remote so future pushes give a clean error. Delete the folder from your filesystem when you no longer need it.

If you want to keep the history in case you revive the project, don't delete the folder. Archive it to an external drive or a private Git server.

When deletion fails: five symptoms and their fixes

Deletion failures in practice cluster around permissions and posture. Match your symptom to the cause.

Symptom Likely cause Reversible check
No Settings tab on the repo You're a Write/Triage/Read collaborator, not Owner/Admin Ask the owner to change your role
Delete button greyed out in Danger Zone Repository belongs to an organization with a branch protection rule or policy blocking deletion Ask an org owner to adjust the policy
Deletion returns an error referencing SAML Your org uses SSO and your token is expired Re-authenticate the SSO session in GitHub settings
Repo deleted but the URL still resolves GitHub hasn't propagated, or a fork exists at a similar path Check the URL for /fork-username/ structure
You deleted by mistake No native undo Restore from your local clone: git push back to a newly created repo

There's one stop condition worth flagging: if the repo contains active legal or compliance obligations — contracts with third parties, audit trails, or licensing evidence — talk to your organization's legal or compliance lead before deleting. A deleted repo can invalidate evidence you're obliged to retain. That's outside GitHub's technical scope.

What happens to forks, stars, and external links

Deleting the upstream repository affects the network around it in specific ways.

Forks stop tracking upstream changes but stay live with their last-pulled state. Stars attached to the upstream are reset; if the same commit exists in a fork, the star doesn't migrate. GitHub releases, packages published to GitHub Packages, and container images hosted under the deleted repo's namespace generally go with the repo. Packages under an org namespace (rather than the repo's own) may survive; check the package page under the org before assuming. External links from blogs, docs, or Stack Overflow answers will 404.

If preserving downstream users matters, archiving the repo lets it stay read-only and keeps forks and links alive. It's the option to choose when the project is over but the data still has value.

Removing without deleting: private mode, archive, and transfer

Sometimes the right move is not deletion. Three alternatives accomplish most "remove" intents and stay reversible.

Make it private. Change visibility under Settings > General. The code, issues, and history all survive; only public reachability changes. Good for projects you want off the public internet but still active. Archive it. Settings > General > Archive this repository. The repo becomes read-only and disappears from normal search results but its URL resolves, forks keep working, and nothing is destroyed. Good for retired projects. Transfer ownership. Settings > General > Transfer ownership moves the repo to another user or org. The URL redirects automatically, and all issues and stars follow. Good when you're leaving an organization but the work continues.

Picking between archive and private is a common pressure point for teams. A practical rule: archive if nobody should push, private if someone still needs to push internally. Delete only when the data has no ongoing downstream value and you've exported what matters.

Removing a project from your profile without deleting the repo

Readers sometimes want the repo to keep existing but not to display on their personal profile. Two settings achieve that.

Hide a fork from the profile card. Forks are hidden from the pinned-repo list by default; unchecking the "Show forks" visibility option in the contribution section hides them entirely. Unpin or remove a repository card. On your profile, click Customize your pins and deselect the repo. The repo still exists; it just won't appear in the pinned strip.

Neither action deletes anything. If the repo must be gone from GitHub, return to the six-step deletion path above.

Verifying the removal actually worked

Check three places after you believe the project is gone.

1: The repo URL returns a 404 when signed out. Use a private browser tab so your session doesn't mask the deletion. 2: Search drops the repo. GitHub search sometimes lags by minutes; wait ten minutes and re-search before concluding it failed. 3: Your organization's repo list no longer shows it. For an org-owned repo, the org's repository listing is the authoritative view.

If any of the three disagrees with the others, the most likely reason is that your session still has cached data or that a fork at a similar path is confusing the search. Sign out and retest before assuming the deletion failed.

What "remove" cannot do: recoverability and audit trails

GitHub's deletion is designed to be final. There's no 30-day trash can for deleted repositories as of November 2026, unlike some other SaaS tools. Once GitHub's confirmation propagates, the only copy is one you saved. The documentation also notes that deletion removes contributions from your profile's contribution graph only after their data is purged, and issue references in forks may keep dangling links for a while.

For compliance-sensitive teams, that permanence is a feature when you genuinely want the data gone and a hazard otherwise. Snapshot anything you're obligated to keep before you confirm deletion.

Which route should you pick?

Match your actual intent to the route below.

You want the code gone from GitHub forever: use the six-step deletion path. Export first. You want the code off the public web but still active: set the repo private. You want the project retired but preserved: archive it. You want it off your profile only: unpin or hide the fork. You want the planning board gone, not the code: delete the GitHub Project, not the repo. You want it off your laptop only: use git remote remove origin and delete the local folder.

The middle three options are reversible and require far less caution than deletion. Reserve deletion for cases where you've already saved what matters and understand the forks, stars, and external links will be affected.

FAQ

Can I recover a deleted GitHub repository?

No native recovery exists in GitHub's current product. If you cloned it or exported it before deletion, push that copy to a new repo. Otherwise the data is gone.

Does deleting a repo delete its forks? No. Forks are independent repositories. They persist with their last-fetched state and simply stop receiving upstream updates.

Will my commits still show on my GitHub profile after deletion?

Contributions shown on your profile are based on commits that belong to repositories, and once the repository's data is deleted those contributions are removed from your profile's activity view. Any commits present in a fork remain counted through that fork.

Does removing a repository from GitHub Desktop delete it on GitHub?

No. Remove in Desktop only detaches the local copy from the app. Deleting the remote requires the web Settings path described above.

Can I delete an organization-owned repo if I'm not an org owner?

You need Admin permission on the repository, which an org owner must grant. If admins in your org can't delete, a policy might block deletion; that's outside the repository owner's control.