What makes it possible to have different versions of a software product?
You've probably received an email or notification from your favorite app that a new feature has been added, and you need to upgrade.
How do developers maintain their previous codes and still add more features?
How is it possible to download a previous version of capcut and bypass their recent greed of making everything a PRO feature?
The answer is GIT
so, what is Git?
Git is a version control system that enables us to track our codes and manage our changes.
it was created by Linus Torvalds (the guy who built Linux OS).
Let's think of it as a time machine for your code.
It helps you:
- Track changes in your project
- Go back to older versions if something breaks in your code (those moments where it seems nothing is working again sef đ§)
- Helps you collaborate with other teammates without messing up each otherâs code.
Commands like git init, git add, git commit, git push are how you interact with Git.
So, after working on a project and tracking its changes on your local device (laptop), how do you upload your project remotely (online) so that others can view, download and collaborate?
Github.
What is GitHub?
GitHub is a cloud-based hosting service for Git repositories/project folders.
Itâs where you upload (push) your Git projects so you can store them online (backup), collaborate with others easily and showcase your projects (like a coding wiz đ)
In summary,
Git is the tool; GitHub is the platform where your Git repos live.
To help you remember the difference, think of git and github like this:
Git = Microsoft Wordâs saved document and
GitHub = Google Drive, where you upload the Word doc so others can see & collaborate