Using Git and its Advantages

Git (/ɡɪt/[7]) is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development,[8] but it can be used to keep track of changes in any set of files. As a distributed revision control system it is aimed at speed,[9] data integrity,[10] and support for distributed, non-linear workflows.[11]
-Wikipedia (ANG TAMAD KO DIBA?)



So I am going to explain as simple as possible, and share an experience with git, and why I recommend it so much.

Git isn't taught in college. I don't know in some institutions though, but this is rarely taught in college, and honestly even some instructors don't know about this. Like them, I didn't even know this too. The time I knew this, I was so lazy to try. Friends often say "You must be the noobiest piece of shit". Still, I didn't try since I find it so so so so hassle. (I was in that level of laziness) . All of them were git-ing and stuffs and I'm like "meh". Til' one day, VOILA!!! My Hard drive went dead. I lost all my projects, the good and stupid ones, all the project related data. All. I felt that sudden silence and shouted the nicest word I can shout that moment. lolp. I lost half of my commitments.

Well, I learned from that tragic event, because honestly, once you get into the industrial level or the level where you code for your food, your code matters most. ("Mawala na laptop ko, wag lang code ko" - I've said that). From that day after, I used git. I always use git.

There are lots of other things that git and stuff can offer, it doesn't just backup your code. It tracks your code. It tracks every file change so you can revert it when things go stupid or unintended. Also, you know which part you last coded.

If you want to update a version of your project or you want to create kinda-similar project, You can rebranch it to another version, so that your copy-paste thingy would not be as hassle as ever, and you keep track of it.

Once you setup your remote, or your git host, it will be accessible anywhere(basically it's a storage). Privately or Publicly. This saves a lot especially when you are working on multiple computers. Flash drive is too mainstream, GIT is the real deal yahh knoww.

With git also, you can collaborate with teams and your friends. So that you can work faster than ever without crashing your codes. lolp.

If you feel git-ing is kinda hassle, well, I felt that too. You commit often, before pushing. Parang sa GF mo lang. Commit muna bago push. hehe. Well, at the end of the day, you'll realize that it saves a lot, and even your life.
 

Similar threads


Top Bottom