Version control, also called Source control, allows you to track and manage all of the changes to your code.
The main benefit of version control is that multiple people could work on the same project simultaneously. With version control tools like Git, you can track all of the changes to your code, and in case of any problems, you could easily revert back to a working state of your source code.
With distributed version control systems like Git, you would have your source code stored on a remote repository like GitHub and also a local repository stored on your computer.
You will learn more about remote and local repositories in the next few chapters. Still, one of the main points for the moment is that your source code would be sored on a remote repository, so in case that something goes wrong with your laptop, you would not lose all of your changes, but they will be safely stored on GitHub.