Skip to main content
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.

Step 1: Sign up

1

Go to GitHub

Visit github.com and click Sign up.
2

Enter your details

  • 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 profileEdit profile. Add your real name, a profile photo, and a short bio such as “Learning Python for AI development”.

Step 2: Configure Git locally

Tell Git who you are — this is a one-time setup that attaches your name and email to every commit you make:
Use the same email address you registered with on GitHub.

Step 3: Choose your authentication method

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.

What’s next?

Now that your account is configured, let’s learn how to create your first repository and clone existing projects.

Clone and create

Start using GitHub with real repositories