Git Tutorial: A Complete Beginner’s Guide - JohnHau/mis GitHub Wiki
If you work alone, you can save the whole database in your local repository. However, when you work with other developers, the project should be stored and shared in a remote repository (or master repository), which is hosted on a platform like Github.
Since Git is a distributed VCS, users don’t have to access the master repository to create modifications. They can clone (copy) the master repository to their local machine, then modify the files without connecting to the network.
On the flip side, users of centralized VCS like SVN or CVS have to connect to the master repository to create changes. That’s why Git is the better choice if you want to work flexibly.
To understand the concept better, we will show you how to use Git in the next section of the tutorial!