DEV Community

Monish B
Monish B

Posted on

GitHub 101: Creating a New Repository in GitHub

As a software engineer, learning a version control tool is one of the best things you can have in your bag.

Right off the bat, I want to clear this doubt many people have!

Is Git and GitHub the same?

The answer is NO! In order to explain it in simpler terms,

  • Git is a version control system that lets you manage and keep track of your source code history.

  • GitHub is a cloud based hosting service that lets you manage Git Repositories.

How to create a GitHub Repository?

  1. Signup for your GitHub account here.
    image.png

  2. After you create an account, you should see a create New repository button.
    You can also click this link. image.png

  3. Fill in the repository Name, Description and the Visibility (Public / Private). And then Click Create Repository.

  4. Once done, You should see a screen like this. image.png There are many ways that you can add files to the repository. But in this article we will see how to directly upload existing files.

  5. Click upload an existing file and in the following page you will be able to upload files from your local machine.

  6. Once uploaded, you can add a Commit Title and Description to make it more meaningful. image.png And then Click Commit Changes.

  7. Voila! You have created your First Repository
    image.png

Top comments (0)