What is Git

Tasadduq Ali
2 min readOct 15, 2022

--

How to use Git?

Here I am trying to explain Git in the simplest way possible. Let's take the example of 2 Kids you and Billy

You and Billy decide to draw a picture together with crayons, But you both want to be able to work on it from home.

The teacher makes 2 photocopies of what you have started and you both take a copy home (pulling/checking out).

You both add more things to the drawing and when you come back to school tomorrow, the teacher cuts and pastes the bits you added / changed and then photocopies that (merging).

If you both colored in the same area, someone has to choose which portion to use (resolving a conflict).

And since there are photocopies every time something is changed, you can throw away all the new ones if you don’t like what you’ve done (reverting).

If we look at the technical perspective of Git. So it's a Version control system and you are able to time travel in your code by reverting back to the versions going forward to the latest version to which you committed.

And it can also be used as a backup of your code source and a very powerful tool which enable collaboration between the team

If you have any questions regarding the computer science field and you want to become a developer. Feel free to ping me at codeculturepro@gmail.com. I would be very happy to help.

Also, don't forget to follow me on Instagram

--

--

Tasadduq Ali
Tasadduq Ali

Written by Tasadduq Ali

I am MERN Stack developer working in UAE Govt to digitize their massive services. I will help you to become highly skilled Coder 😉

No responses yet