How to Change Your GitHub Username
GitHub lets you rename your account, and everything redirects smoothly. Here's exactly what happens and how to do it.
Step-by-Step
- Go to Settings → Account → "Change username"
- Enter your new desired username (1-39 chars, letters/numbers/hyphens)
- Confirm the change by typing your current username
- Click "Change username"
Good news
GitHub handles renames well. Old repo URLs redirect to the new username. Git remotes update automatically. Profile links, READMEs, and gists all update. Your contributions graph stays intact.