Let’s look at some terminology first. If you are a seasoned Git or GitHub user, feel free to skip this introduction.
This is a very high-level introduction to Git and GitHub, and by no means complete. If you want to learn more about Git, I recommend reading the excellent documentation at https://git-scm.com/. If you want to know more about GitHub, https://guides.github.com/activities/hello-world/ is a great place to start.
Git is a distributed version control system. Let’s break that down. Version control of a file (usually a text file such as a .html or .js file) just means keeping track of all the changes made to the file. Before you can use it, you need to download, install, and initialize it in the folder you would like to track files in. Git has three core concepts that make your coding life easier.