Codecademy Team

How to Set Up a Github Account

Learn how to set up a Github Account.

How to Sign Up for an Account

Now that you’re aware of GitHub’s benefits, you probably want to sign up for an account and try it out yourself. First navigate to the home page of the GitHub website, https://github.com.

In the upper-right corner click on the Sign Up button, as outlined in this screenshot:

Home page of the GitHub website with the mouse pointing at the **Sign Up** button which is highlighted

Create Your Account

You’ll see a page with a form under the heading “Create your account”.

Create your account page of GitHub website

Fill in each field for username, email address, and password. Choosing a username and email are especially important! Be sure to read through the following tips.

Username

When choosing a username, it’s wise to choose one you wouldn’t mind future employers or colleagues seeing. A combination of your first and last name like firstnamelastname or using initials, like i_lastname, are good because they make it easy to find you on GitHub or identify you when you make pull requests or reviews. Remember, you’re likely using this account to share or access code.

Also be aware that usernames are first come, first serve and may not be available if someone else already claimed the username. Additionally, usernames may only contain alphanumeric characters and hyphens are not allowed at the beginning or end.

Email Address

Like with usernames, pick an email that you’re comfortable sharing with peers and potential hires. Because of the way Git works, it’s important to note that your email can be exposed publicly when you make a pull request or merge in code to a repository, making it visible to anyone looking through your projects. When you sign up for a new GitHub account, your email address is hidden by default.

Finish Creating Your Account

Lastly, fill out the password field. When you’re done filling out the various fields, verify your account. You will receive an email from GitHub prompting you to verify.

Once you see a green checkmark, click on the blue Create an Account button.

Go to your email account, find the email from GitHub, and click on the button inside it to finish creating your account.

Settings

After successfully creating an account, you should see a page display asking you “What do you want to do first?” Go through the steps to complete your own set up process. You should now see a welcome page:

GitHub Welcome page

You can either answer the optional questions or move on by clicking on the Complete setup button to finish creating your account.

Your browser should display a personal dashboard with a section for your projects and some messages:

GitHub personal dashboard

Now you have your own GitHub account! You can continue to customize your account by:

That’s it, you now have your very own GitHub account. 🎉

Recap

With more people working remotely and with teams distributed across different countries and timezones, GitHub and Git can be valuable tools for collaborating on projects. You can also use GitHub to work on any file-based project such as writing documentation.

Let’s review what you did in this article:

  • Learned that GitHub is both a website and service for storing and sharing code
  • Learned that Github that uses Git to facilitate software development by tracking changes

  • Created your own GitHub account

  • Enabled security features like keeping your email private and turning on two-factor authentication

Going Further

Once you feel comfortable navigating GitHub consider doing the following:

  • Add information about yourself in your profile, including an avatar, bio, location, etc.

  • Set your status in your profile to let people know what you’re doing.

  • If you feel comfortable enough with Git, you can take a look at this article on GitHub Pages, GitHub’s hosting service that allows you to create a personal website, “project site”, based on a repository to make your portfolio site.

  • If you’re interested in paid accounts, GitHub has a pricing page with various types of accounts and features you can look at.

Show the world what you can do with your code!