🤔WTF is “version control” ? Why should I care? Why should I learn it? Well, let me break it down for you in a way that’ll make you smile! 😄 Before going into deep I have a simple question for you.
Imagine you’re working on a super important project, and you’re saving it on your computer. Now, what if your computer decides to go on a vacation without telling you and takes your project with it? Disaster, right? 😱
But fear not, because that’s where version control swoops in like a code superhero 🦸♂️ to save your day! 🌟
Version control is like a magical time machine for your computer files. 🕰️It helps you to keep track of changes you make to your file over time.
With version control, Every change made to the code base is tracked. This allows software developers to see the entire history of who changed what at any given time 🕰️ It keeps track of all the changes you make to your project, like when you add new stuff or fix mistakes.
And here’s the cool part! Imagine you’re working on a project, and you want to try out some new ideas. With version control, every time you make a change, it’s saved as a snapshot. This way, if you mess something up or want to go back to a previous version, you can easily do that.
But wait, there’s more! You can also share your project with your friends and work on it together, without stepping on each other’s toes. It’s like painting a beautiful mural with your buddies without accidentally splattering paint on each other. 🎨
You can find out more from : What Is Version Control?
Now let’s talk about most famous version control system GIT.
One of the best advice I got from internet is, No matter what you are working as solo developer or team player, working in startup or in big tech company
- Git was created by LINUS TORVALDS in 2005. There is no doubt he is a fucking genius from all of us.
- Git is a popular choice as a version control system at any level company/solopreneur.
ENOUGHHHHH!!! I know Git is awesome blah blah blahhh! show me how it help me ?
Any benefits from using Git?
- Git allows you to track changes to your codebase over time.
- Multiple developer can work on the same project simultaneously at same time
- Developers can create separate branches to work on new features or fixes.
- Git maintain complete history of your changes
- Developer has own copy of the repository, means you can work offline as well
And there are lots of other benefits apart from these.
I think that’s enough information. I’ll get back to you soon with part 2 where you will understand and learn simple but effective git commands.