Home Coding & Scripting Setting Up a GitHub Account & Creating Your First Repository

Setting Up a GitHub Account & Creating Your First Repository

231
0

If you’ve been learning Git on your local machine, the next big step is taking your work online using GitHub. GitHub is where developers store code, collaborate, share projects, and build portfolios. In this post, we will walk through two essential beginner steps:

  1. Setting up a GitHub account
  2. Creating your very first repository on GitHub

This guide is simple, visual, and beginner-friendly — no prior GitHub experience required.


🌐 1. Setting Up a GitHub Account

GitHub is a cloud platform that stores Git repositories online and allows collaboration across teams and communities.

Follow these simple steps to set up your account. If you already have an account skip this section and go to the section titled ‘2. Creating Your First GitHub Repository‘.


✔️ Step 1: Visit GitHub

Go to:

https://github.com

Click Sign up.


✔️ Step 2: Create Your Account

GitHub will ask you for:

  • Email address
  • Password
  • Username (this becomes part of your public profile URL)
  • Communication preference

Choose a username you’re comfortable sharing publicly because it becomes your identity on GitHub.

Example:

https://github.com/your-username

✔️ Step 3: Verify Your Email

GitHub will send you a verification link.
Open your email → click Verify email → your account is activated.


✔️ Step 4: Optional Personalization

GitHub may ask about:

  • Your experience level
  • Your interests
  • Expected use cases

These do NOT affect your account — feel free to skip.


✔️ Step 5: Explore the GitHub Dashboard

Once logged in, you’ll see your dashboard, which includes:

  • A New Repository button
  • Your activity feed
  • Quick shortcuts
  • Profile and settings menu

Now let’s create your first repository.


📁 2. Creating Your First GitHub Repository

A repository (repo) is a folder on GitHub where your code lives.
Think of it as the online version of the Git folders you use locally.

Let’s create one step by step.


✔️ Step 1: Click “New Repository”

On the top-left of your dashboard, click:

New

or use:

+ → New repository

Both open the “Create Repository” page.


✔️ Step 2: Choose a Repository Name

  1. Enter a name like: my-first-repo. This will become the URL of your repository.
  2. Choose Visibility — Public or Private. Choose Public. Note: Public: Anyone can see your code. Private: Only you (and people you invite) can see it.
  3. Add a README file. This creates a short description of your project.
  4. Add .gitignore. ❌ Not needed yet.
  5. Add license. Beginners can skip this.
  6. Click Create repository
  7. Your repository is now live!

🎉 What You See After Creating the Repository

Your new repository page displays:

✔ Repository Name

At the top, e.g., my-first-repo

✔ README.md

If you added one, it becomes your repo’s homepage.

✔ Default Branch (main)

GitHub creates this automatically.

✔ Clone URL

Looks like this:

https://github.com/your-username/my-first-repo.git

This link will be used later when you connect your local Git to GitHub.

Previous articleUnderstanding Merging with Git Branches
Next articleConnecting Local Git Repositories to GitHub
Heartin Kanikathottu
As a seasoned Cloud and Security Architect, I’ve led transformative initiatives in key roles, including Vice President at Morgan Stanley, Principal Architect at Societe Generale, and Tech Lead & Cloud Security Architect at VMware, among others. I’m also an internationally published author with multiple books available on platforms like Amazon and O'Reilly. Notably, one of my books was recognized as the 8th best cloud computing book of all time in 2020, reflecting the impact of my contributions to the field. With over 15 professional certifications from providers such as Microsoft (Azure), Amazon (AWS), Oracle (Java), Pivotal (Spring), and IBM, I bring a wealth of expertise to my work. Academically, I hold dual Master’s degrees in Cloud Computing and Data Analytics. I’m passionate about sharing knowledge and mentoring others, which is why I actively speak at global technical forums such as Tech Opportunities Fest at Platform Calgary, Google's Kubernetes Meetup, Java User Group, Elasticsearch Meetup, and the Agile India Conference.

LEAVE A REPLY

Please enter your comment!
Please enter your name here