Git is the most essential thing to learn as a programmer.

Let& #39;s understand it an easy way https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧵" title="collectie" aria-label="Emoji: collectie">https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Rug van hand met omlaag wijzende wijsvinger" aria-label="Emoji: Rug van hand met omlaag wijzende wijsvinger">
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🏢" title="Kantoorgebouw" aria-label="Emoji: Kantoorgebouw"> Let& #39;s assume you work for a Gaming company .

https://abs.twimg.com/emoji/v2/... draggable="false" alt="🎮" title="Videospel" aria-label="Emoji: Videospel"> And you are asked to build a new Gaming app .

https://abs.twimg.com/emoji/v2/... draggable="false" alt="👨‍💻" title="Technoloog" aria-label="Emoji: Technoloog"> You are not building this project alone but with a team of 4-5 developers.

https://abs.twimg.com/emoji/v2/... draggable="false" alt="❓" title="Rood sierlijk vraagteken" aria-label="Emoji: Rood sierlijk vraagteken"> Here arise a question ?
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤔" title="Nadenkend gezicht" aria-label="Emoji: Nadenkend gezicht"> How will you work with the team and write the same code as them on the same code base without causing conflict ?

So that& #39;s where Git comes in .

https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤷‍♀️" title="Schouderophalende vrouw" aria-label="Emoji: Schouderophalende vrouw"> What is Git ?

https://abs.twimg.com/emoji/v2/... draggable="false" alt="👉" title="Rug van hand met naar rechts wijzende wijsvinger" aria-label="Emoji: Rug van hand met naar rechts wijzende wijsvinger"> It is a distributed version control system .
Let& #39;s break this definition into 3 parts :-

1. Control system :- It means Git is used to store code .
2. Version Control System :-

As a team project, many developers are adding code . So, code in Git keeps changing.

Thus, VCS helps in tracking changes by maintaining a history of what changes have happened.

Git tracks changes by taking a Snapshot(commits) of changed files.
3. Distributed Version Control system :-

DVCS represents a collection of backups.

When a team member clones a repository, she& #39;s basically creating an offsite backup, so if something happens, such as a server crash, every member& #39;s local copy acts as a backup.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🔰" title="Japans symbool voor beginner" aria-label="Emoji: Japans symbool voor beginner"> Benefits of Git :-

1. With git , You will never lose your data .
2. It allows you to experiment code without breaking your previous code.
3. It allows you to work offline.
4. It improve your code-quality and productivity.
That& #39;s the end of the thread.

If anyone still had a doubt about anything , drop your queries https://abs.twimg.com/emoji/v2/... draggable="false" alt="💬" title="Tekstballon" aria-label="Emoji: Tekstballon">https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Rug van hand met omlaag wijzende wijsvinger" aria-label="Emoji: Rug van hand met omlaag wijzende wijsvinger">

Follow @priya_garg2 to see content like this, also likehttps://abs.twimg.com/emoji/v2/... draggable="false" alt="❤" title="Rood hart" aria-label="Emoji: Rood hart"> the first tweet and retweethttps://abs.twimg.com/emoji/v2/... draggable="false" alt="🔁" title="Open cirkelende pijlen die met de klok mee naar rechts en naar links gaan" aria-label="Emoji: Open cirkelende pijlen die met de klok mee naar rechts en naar links gaan"> first tweet to share it with your audience.

Thankyou!https://abs.twimg.com/emoji/v2/... draggable="false" alt="😊" title="Lachend gezicht met lachende ogen" aria-label="Emoji: Lachend gezicht met lachende ogen">
You can follow @priya_garg2.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: