What is a Git (Linux speaking)?

501 views

What is a Git (Linux speaking)?

In: 23

11 Answers

Anonymous 0 Comments

It a versionning tool (mostly for code).

When you’re working on a project, you want to be able to:
– go back at a previous point in time
– have multiple people working on the same document then merging their work together
– working on several version at the same time
– save document both on you computer to work on and on a company server for everyone to use

You could just save your document in a different file (Document_1, Document_1bis, Document_copy) and have them on your computer, on a company server and manually merge the work of multiple people, but it’s a nightmare to manage, especially for complex projects with many people working on it.

Instead git allows to do all of the above.
– You can save small changes in *commits*. git does not save the all file, just the changes.
– You can work on different *branches* aka versions of your document
– You can *merge* differents version to merge the work of different people together
– You can *pull* and *push* code between your computer and a company server aka *repository* (or a public one like github.com)

TL;DR: it’s a tool to store and manage versions of files and make it much easier to work with a lot of people.

You are viewing 1 out of 11 answers, click here to view all answers.