Why it matters more in the AI era
A departing developer used to leave with knowledge of your code. Today a repository also holds your prompts, agent instructions, model settings, evaluation data and business rules: the intellectual property that sets your product apart. Every day their access stays open is a day all of it is still within reach.
The same-day checklist for GitHub
- Remove them from your organization or repositories. For an outside collaborator: your organization, then People, then Outside collaborators, select the person, and choose Remove from all repositories. For a member, remove them from the organization.
- Check teams and other organizations. Access often comes through a team or a second organization you forgot about.
- Revoke their fine-grained tokens. In your organization's settings, under Personal access tokens, Active tokens lists the fine-grained tokens that can reach your organization. Revoke theirs. SSH keys created with a revoked token keep working, so check keys too.
- Close the gap for classic tokens. Organization owners can only see and revoke fine-grained tokens there. Unless you restrict classic tokens in your organization's token policy, a classic token keeps access until it expires.
- Check deploy keys and connected apps. Deploy keys on each repository, and any apps or integrations the person set up.
- Change every secret they could see. Keys in
.envfiles, build and deploy secrets, database passwords, cloud credentials, and anything ever committed to the repository, including in old commits. - Close the systems around the code. Cloud consoles, build tools, package registries, error tracking, chat and shared password managers.
- Review their last changes. New libraries, edited build workflows, scheduled jobs, and anything merged in their final days.
- Ask for copies to be deleted, in writing, as their contract requires.
What removing access does not undo
- Local copies stay. When you remove a collaborator, GitHub deletes their forks of your private repositories, but any copy they cloned to their own computer stays with them, history included.
- Secrets already seen stay seen. A key that was readable yesterday must be changed today, even if the person is gone.
- Copies outside GitHub. Backups, code pasted into outside tools, and files shared in chat.
No offboarding step can pull back what has already been copied. The only real control is how much was handed over in the first place.
Why offboarding goes wrong
- Access is spread out. The Git host, the cloud, the build tool and the chat each hold a piece, and no single list shows them all.
- Access is permanent by default. Nothing ends on its own, so it ends only when someone remembers.
- Contractors fall between teams. HR offboards employees; outside developers often have no one who owns their exit.
Make the next offboarding a non-event
Give access per task, with an end time set in advance, and there is far less to take back. In a Sealed Room:
- Rooms end on time. When a room's time is up, the machine and every file in it are deleted.
- One click signs a person out. Removing someone on the People page ends their sign-in at once, including an editor they have open.
- No GitHub access to remove. Developers never had access to your GitHub. Their work reached it only as pull requests you approved.
- No keys to change. Rooms hold no real keys, passwords or
.envfiles. - A record of what they did. Every change and connection, in a record that cannot be edited, ready for the final review.
See how the Sealed Room works, or read how to give a contractor code access without your GitHub.
Questions teams ask
How fast should access be removed?
The same day the work ends, and for a difficult exit, at the moment the person is told.
Do we need to change keys if the person left on good terms?
Yes. Changing keys is not about trust. It closes access that could otherwise be used by anyone who gets hold of the person's laptop or accounts later.
Can we see what a departing developer copied?
Not from GitHub once it is cloned. In a Sealed Room, the record shows what they changed and every site the room connected to.