Interview Prep/Git & GitHub/Secrets, Signing and Security

An engineer left the company today. What do you do on the Git side?

BeginnerScenarioSecrets, Signing and Security
Answer

Situation read → Access must be removed quickly and completely.

What I'd do →

  1. Remove from the GitHub organisation, or disable via SSO or SCIM deprovisioning.
  2. Check for personal tokens, deploy keys and apps they authorised (org settings list these).
  3. Reassign their open PRs and CODEOWNERS entries to a team.
  4. Rotate shared secrets they knew.

Why → Central identity (SSO) makes this a single step instead of a checklist hunt.

Interview tip → Teams as code owners avoid orphaned review rules.

All Git & GitHub questions Roadmap: Git & GitHub

More on Secrets, Signing and Security