Changing your GitHub username
You can change your GitHub username at any time.
After changing your username, your old username becomes available for anyone else to claim. After you've renamed your user account, update the remote repository URL in any local clones of your repositories to ensure redirects will work and your work is tracked properly. For more information, see "What happens when I change my username?" and "Changing a remote's URL."
In the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click Account settings.
In the "Change username" section, click Change username.