Setting Up Your GitHub Account and Local Git Config
Create your GitHub account, configure Git with your identity, and choose the right authentication method for pushing and pulling code.
GitHub is free to use and takes about five minutes to set up. Having an account unlocks the ability to back up your code, publish your projects publicly or privately, download AI tools and examples from the community, and collaborate with other developers. Your GitHub profile also acts as a living portfolio that potential employers can browse — so it’s worth setting up properly from the start.
Username — Pick something professional; employers will see this
Email — Use one you check regularly
Password — Make it strong
3
Verify your account
GitHub sends you a confirmation email. Click the link inside to activate your account.
4
Set up your profile
Click your profile picture (top right) → Your profile → Edit profile. Add your real name, a profile photo, and a short bio such as “Learning Python for AI development”.
When you push code to GitHub, you need to prove you own the account. There are three ways to do this:
Recommended: GitHub CLI gives you the simplest setup experience. It’s the modern approach and handles authentication automatically, so you won’t need to paste tokens or manage SSH keys manually.