Introduction to Git and GitHub

How to create a GitHub repository


Step 1: Go to https://github.com

Step 2: Click on either of following options to create a new repository

Step 3: Give a meaningful name to the repository

Step 4: Select either private or public option
  • Public repositories can be viewed by other people but cannot make changes to it. Changes can only be made by the people with collaborator access given by the owner of the repository.
  • Private repositories cannot be viewed or edited by anyone without having collaborator access given by the owner of the repository.

Step 6: Then click on “Create repository” to create the repository

🎉 Congratulations! You have successfully created a new repository on GitHub


Pages: 1 2 3 4