What is Git?

In this article, I am going to familiarize you with the concept of Git in the field of these softwares. Project control software is an inseparable part of today’s technology world.

Git is a version of the controller (version control software that is actually from the Open Source software series) created in 2005 by Linus Torvalds to develop Linux.In fact, you can use Git to control and manage the development process of a project. Also, with Git, you can check for any desired changes in different versions and apply them to your final project if they are approved. To understand this, we’ll take an example together.


Suppose you’re working on a website written in Python. In your company, someone else wants to code a tool independently for your website. You want to then plug this tool into the main project but it doesn’t work as easily as you think. In another example suppose, a project called A begins on day 1. On day 2, someone wants to code the B tool and add it to Project A. In this case, the B tool programming lasts for 3 days, but during these 3 days, the project A process also does not stop. In this case, 2 branches are developing independently of each other. In this example, due to the coincidence of the development of 2 different parts, the programmer may see a different code B tool or changes than the previous day in Project A because the programmer of Project A has been working on this project during this time.
You saw that in this example, only two people were working on developing two parts. It is conceivable what it would be like to work on a larger project written by 100 programmers and has 200 independent departments. In such projects, human thinking and concentration are unable to manage this volume of work. It should be designed to be able to control and manage these conditions. This tool is the same as Git. The principle of creating this tool was to manage different versions of Linux, but later, many programmers around the world welcomed it.

What is repository in git?

When we want to manage a project with Git, it needs to be transferred to a repositor. A repositor is actually a final repository to store all the changes you want to apply to the project.

Types of repositor in git:

The repositor consists of two types of local reposiori and remote repositor.

1- Local hypocity

That the reset is located on a computer, flash, CD or anything that is not accessible through the network.

2- Remote Repository

The repositor is usually located on the server or host and people can access it. From this model of repositor, it can be repositors that are github, gatelab, etc. at your disposal, noted.

GitHub and GitLab

GitHub is the name of a site. This site is actually a server and allows you to share your gate repositories for free and online. By learning the tools and concepts of GitHub, you can use its facilities to manage your repositories.
GitLab also has similar features and functions with GitHub. The only difference between these two services is that GitLab has the ability to download and dismount on personal servers.