Member-only story
Learning Git — But Why?
If you are beginning your software engineering journey, one of the best things to get friendly would be Git. Git is a source code management software that allows you to track changes in your project. Even though that sounds overwhelming, it basically just means a cute person who tracks what you are doing in your project.
Git is a software that tracks changes made in our project
Why Track old work?
- Let us say you are working on a really cool feature as of now and your client comes running to you and says — “Hey, I need changes in another feature for a customer. Can you drop what you are doing and get on the customer’s feature?” Hmm! You unwillingly have to drop and look into it now. But you don’t want to lose your current progress on the cool feature too. What do you do? You ask git to park your changes while you switch to the customer’s feature and then return.
- Or, let us say you released a new feature thinking that all your customers will be really happy by overwriting your existing feature. But to the horror, your customers are really disappointed and want the old feature back immediately. What do you do? Well, your helper git can revert back to your old feature version since it’s tracking everything for you.
These are some very basic instances where git helps out. But in real life, git is far more powerful and takes away the troubles of managing your daily software engineering life.