GitHub is a cloud-based service website in which the developers can store, manage, track and control changes to their code. There are two connected principles.
What is version control?
Version control is also called as source control, which is used for tracking and managing changes to software code. Version control systems are software tool in which developers are able to manage changes to source code.
There are two main processes in version control
Branching is a process in which part of the code gets duplicated which is called repository for the purpose of development.
After the process of developing the Code if the developer finds that the part of the code is working properly, he/she can merge the code to the main source code.
What is Git?
Git is a free and open-source version control system which is designed for the purpose to handle everything from small to very large projects with speed and efficiency.
Creating a new repository:
1.In the upper-right corner of the page, click the + drop-down menu, and select new repository.
2.Type a short, memorable name for your repository, like the one which is shown below.
3.Choose a repository visibility:
NOTE: Repository which is created here is an empty repository. If you want you can also initialize it with a README file.
4.Click create repository:
You have successfully created your first repository.
Read more: A Beginner’s Introduction to GitHub