Site icon TestingDocs.com

How to create a repository on GitHub?

Overview

GitHub is a code hosting platform for version control and collaboration. It’s a distributed version control system. It lets you and others work together on projects from anywhere in the world. Let us see how to create a repository GitHub.

Create a New Repository

A repository contains folders and files, images, videos, etc. You can include a README, a file with information about your project.

Steps

Login to your GitHub account.
In the upper right corner, click and then select New repository menu item.

 

 

 

Give a name to your repository.
Choose Public or Private option for your repository.
Write a short description about your repository.
Select Initialize this repository with a README.
Click Create repository as shown in below picture.

 

 

 

By default your repository has one branch named master. You can find the overview of number of commits, branches, contributors etc on the screen as shown below.

 

 

Public repositories allow others to see what in your repository. However, you can choose who can commit changes to your repository.

Private repository, on the other hand only allowed people can see and commit to your repository.

Exit mobile version