Git
Git is a long-standing version control system (VCS) which allows you to track changes to your code over time.
In simple terms, Git allows you to take snapshots of your codebase in time. Just like a time traveler, you can go back to previous revisions and branch off, allowing you to create different branches of the same codebase.
Installation
You can find a beginner-friendly setup procedure here.