Repositories in GitHub

What is the repository in GitHub:

A Git repository is the**.** git/ folder inside a project. This repository tracks all changes made to files in your project, building a history over time.

What is the use of GitHub:

A repository, or repo, is a centralized digital storage that developers use to make and manage changes to an application's source code. Developers have to store and share folders, text files, and other types of documents when developing software.

We can store a variety of projects in GitHub repositories, including open-source projects. With open-source projects, you can share code to make better, more reliable software.

How to setup the repository:

  1. In the upper-right corner of any page, use the drop-down menu, and select New repository.

Screenshot of a GitHub dropdown menu showing options to create new items. The menu item "New repository" is outlined in dark orange.

  1. Type a short, memorable name for your repository. For example, "Nu1".

  2. Optionally, add a description of your repository. For example, "Creating a repository for test purpose."

  3. Choose a repository visibility. For more information, see "About repositories."

  4. Select Initialize this repository with a README.

  5. Click Create Repository.