Skip to content

How to Create a Public Repository

โ† Back to Git


๐Ÿ“‚ Create a Public Repository

A public repository is visible to everyone on the internet.

1. Create New Repo

Log in to GitHub and click on New (or "Create repository").

First Login

2. Configure Details

  1. Enter a unique Repository name (e.g., firstproject).
  2. Select Public.
    • Public: Visible to anyone. Anyone can clone it.
    • Private: Visible only to you and collaborators.

Create Repo Screen

3. Initialize

Check Add a README file. A README file describes your project and is the first thing visitors see.

Add README

4. Create

Click Create repository. Your repository is now live! The README.md file will be displayed on the home page.

Repo Created


๐ŸŽฅ Watch on YouTube:

Git Overview


๐Ÿง  Quick Quiz โ€” Public Repos

#

Which file is commonly used to describe your project on the repository home page?


๐Ÿ“ Want More Practice?

๐Ÿ‘‰ Start Git Intermediate Quiz (20 Questions)


๐Ÿ“ฌ DevopsPilot Weekly โ€” Learn DevOps, Cloud & Gen AI the simple way.
๐Ÿ‘‰ Subscribe here