Changing username while in a GitHub classroom #193031
Answered
by
Gecko51
iammarxg
asked this question in
GitHub Education
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaGitHub Classroom Hi everyone,Hello, I am planning on changing my github username to something more professional, as I'm getting closer to entering the workforce. I am currently enrolled in a GitHub Classroom managed by my professor, what will be the consequences of changing my username? Will my previous submissions be nullified, or will my professor still have access to them? All of the repos within the classroom end in my username. Will I be kicked out of the classroom or will it automatically move over everything to my new username? |
Beta Was this translation helpful? Give feedback.
Answered by
Gecko51
Apr 20, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing your username won't break your Classroom standing. A few things that actually matter:
GitHub tracks accounts by an internal numeric ID, not by username. Your professor's roster, your submissions, and your past work stay linked to you after the rename. You won't get kicked off.
Repo URLs get a redirect set up automatically.
github.com/old-username/assignment-xwill 301 to the new location, and existing git remotes keep working. That said, update them when you have 5 minutes so you're not relying on the redirect:Two gotchas worth knowing:
If the redirect source gets claimed by someone else during the transition …