About username changes
You can change your username to another username that is not currently in use. If the username you want is not available, consider other names or unique variations. Using a number, hyphen, or an alternative spelling might help you find a similar username that's still available.
After changing your username, your old username becomes available for anyone else to claim. Most references to your repositories under the old username automatically change to the new username. However, some links to your profile won't automatically redirect.
Username trademarks
If you hold a trademark for the username, you can find more information about making a trademark complaint on our Trademark Policy page.
If you do not hold a trademark for the name, you can choose another username or keep your current username. Suporte do GitHub cannot release the unavailable username for you.
Repository references
After you change your username, GitHub will automatically redirect references to your repositories.
If the new owner of your old username creates a repository with the same name as your repository, that will override the redirect entry and your redirect will stop working. Because of this possibility, we recommend you update all existing remote repository URLs after changing your username. For more information, see Gerenciar repositórios remote.
Links to your previous profile page
After changing your username, links to your previous profile page, such as http://github.com/previoususername
, will return a 404 error. We recommend updating any links to your profile from elsewhere, such as your LinkedIn or Twitter profile.
Accounts logged in on GitHub Mobile
Accounts logged in on the GitHub Mobile app may continue to display your original username until you log out. To ensure your updated username is displayed, we recommend you sign out and back in to your account on each mobile device.
Your Git commits
If your Git commits are associated with another email address you've added to your GitHub account, they'll continue to be attributed to you and appear in your contributions graph after you've changed your username. However, some commits using GitHub-provided email addresses may be affected. For details, see Username reference.
Your gists
After changing your username, the URLs to any public or secret gists will also change and previous links to these will return a 404 error. We recommend updating the links to these gists anywhere you may have shared them.
CODEOWNERS files
After changing your username, CODEOWNERS files that include your old username will need to be manually updated. When you view the CODEOWNERS files on GitHub, an error message is displayed if the file contains any unknown users, or users without write access. We recommend updating all relevant CODEOWNERS files with your new username.
Next steps
To change your username, see Changing your username.