
I’m a Junior web developer in Next.js and an AI enthusiast
For a dev career, or even for personal work and projects, the principal question is why git ? And the best way we could answer this question is by knowing the problem it solves.
The problem git solves for developers is the versioning problem. When working in a team, what's the nowadays working style in dev startups and societies, everyone has a bunch of code, stuff or feature he's working on in the team and the job cannot end in one day or one race code. And also, apps and sites are evolving and technologies are becoming more and more efficient while others become obsolete. That's why a permanent work or review of the code is important and this makes the code change permanently.
While working on a code, it may, unfortunately, occurs that the used computer is damaged or stolen. The work may be lost and time for beginning the code isn't always available. This can cause serious problems and difficulties at work. Or imagine you are working on a feature to add to an app and you still testing it; you cannot directly put it in the original app code. You need to have somewhere to test your modifications before updating the app. And then, another frequent situation that can cause issues is when you're a team that's working on one feature and you are four modifying the code; while updating the code, every uploading will replace the existing one without keeping changes. This obliges the team to consult before any upload. More, some can think about cloud servers but they are centralized and their un-disponibility cause a whole work break.
The opted solution for a lot of developers is git, a versioning technology. It makes it possible for teams to work on the same code using such different timelines for their specific modifications without replacing others' work. This wonderful technology gives the possibility to see what changes in the project. And as a bonus, we have decentralized servers for every worker so that everyone can personally evaluate the code evolution.
I'll share my new knowledge on git every day I think so, awaiting comments and corrections...
