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:
- Setting up a GitHub account
- 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
- Enter a name like:
my-first-repo. This will become the URL of your repository. - Choose Visibility — Public or Private. Choose Public. Note: Public: Anyone can see your code. Private: Only you (and people you invite) can see it.
- Add a README file. This creates a short description of your project.
- Add .gitignore. ❌ Not needed yet.
- Add license. Beginners can skip this.
- Click Create repository
- 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.