GitHub Account & Repositories
Set up your GitHub account, create new repositories, and understand the GitHub interface.
GitHub Account & Repositories is a free DevOps Bootcamp lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the DevOps Bootcamp learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Welcome to GitHub!
Welcome to GitHub, the world's leading platform for software development and version control! It's built around Git, which you've already learned about.
Think of GitHub as a social network for code. It allows developers to host their Git repositories online, collaborate on projects, and share their work with the global community.
Why Use GitHub?
GitHub provides several key benefits:
- Centralized Hosting: Your Git projects are stored securely online.
- Collaboration: Teams can work together seamlessly, track changes, and merge contributions.
- Version History: Access a complete record of every change made to your code.
- Open Source: It's the hub for countless open-source projects, making it easy to contribute.
Creating Your GitHub Account
To get started, you'll need a GitHub account. It's free for individual developers and open-source projects!
Here's how to sign up:
- Go to
github.com/joinin your web browser. - Choose a username, enter your email address, and create a strong password.
- Follow the prompts to verify your email and complete any initial setup steps.
Your GitHub Dashboard
Once you log in, you'll see your personalized GitHub dashboard. This is your home base!
Key areas you'll notice:
- Your Repositories: A list of projects you own or contribute to.
- Activity Feed: Shows recent actions from people and repositories you follow.
- Explore: Discover new projects and trending repositories.
What is a GitHub Repository?
A repository (often shortened to repo) on GitHub is essentially a project's folder. It contains all of your project's files, including:
- Code files (e.g.,
.js,.py) - Documentation (e.g.,
README.md) - Images, data, and any other project assets
- The complete history of every change made using Git.
Creating a New Repository
Let's create your first GitHub repository!
From your dashboard:
- Click the green 'New' button (usually on the left sidebar or top right).
- You'll be taken to a 'Create a new repository' page.
This is where you define your project's home on GitHub.
Repository Name & Description
When creating a repo:
- Repository name: Choose a clear, concise name for your project (e.g.,
my-first-app,website-portfolio). This name will be part of its URL. - Description (optional): A short sentence explaining what your project does. This helps others understand its purpose at a glance.
Public vs. Private Repositories
A crucial choice when creating a repo is its visibility:
- Public: Anyone on the internet can see this repository. It's ideal for open-source projects, portfolios, or anything you want to share widely.
- Private: Only you and people you explicitly grant access to can see and interact with this repository. Great for personal projects, confidential work, or client projects.
Initializing with Key Files
GitHub offers options to initialize your repository with helpful files:
- Add a README file: A
README.mdfile is essential. It's the first thing visitors see and should explain your project, how to set it up, and how to use it. - Add .gitignore: This file tells Git which files or folders to intentionally ignore (e.g., temporary files, build outputs, sensitive configuration).
- Choose a license: Defines how others can use your code (e.g., MIT, GPL).
Quick Check: New Repo Options
You're setting up a new project on GitHub. Which of these is NOT a typical option you'd select or configure directly on the 'Create a new repository' page?
Recap: GitHub Account & Repos
Great job! In this lesson, you've learned the foundations of GitHub:
- Why GitHub is crucial for version control and collaboration.
- How to create your own GitHub account.
- The concept of a repository as a project's home.
- The steps to create a new repository on GitHub, including choosing visibility (Public/Private) and initializing with key files like README and .gitignore.
Next, we'll explore how to connect your local Git projects to these remote GitHub repositories!
Frequently asked questions
Is the “GitHub Account & Repositories” lesson free?
Yes — the full text of “GitHub Account & Repositories” is free to read here on the web, and the DevOps Bootcamp course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the DevOps Bootcamp course, upgrade to CoddyKit PRO.
What will I learn in “GitHub Account & Repositories”?
Set up your GitHub account, create new repositories, and understand the GitHub interface. You practise DevOps Bootcamp with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start DevOps Bootcamp?
No prior experience is required. DevOps Bootcamp on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “GitHub Account & Repositories” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this DevOps Bootcamp lesson?
Yes. Every DevOps Bootcamp lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- GitHub Account & Repositories
- Pushing, Pulling, Cloning
- Collaborating with Remotes
- Managing Multiple Remotes