1. Version Control
Version Control is a system that records changes in the content of one or more files for future reference to specific version revisions. There are three version control systems:
1. Local Version Control System
Many people are used to copying the entire project directory to save different versions, and may change the name and backup time to show the difference. The only benefit of doing so is simplicity. But there are also a lot of disadvantages: Sometimes the working directory will be confused, once the wrong file is lost data, there is no way to cancel the recovery.
To solve this problem, many local version control systems have been developed a long time ago. Most of them use a simple database to record the previous update differences of files. As shown in the following figure,
2. Centralized Version Control System
Centralized Version Control Systems (CVCS) allow developers on different development Systems to work together. Such systems, such as CVS, Subversion, and Perforce, all have a single centrally managed server that stores the revision of all files, people working collaboratively connect to this server through the client to retrieve the latest files or submit updates. Over the years, this has become the standard practice of version control systems.
3. distributed version control system
Distributed Version Control System (DVCS), such as Git, Mercurial, Bazaar, and Darcs. The client does not only extract snapshots of the latest versions, instead, the code repository is fully mirrored. In this way, any server that works collaboratively can be recovered from a local warehouse from any image. Because every extraction operation is actually a complete backup of the code repository,
Furthermore, many such systems can specify to interact with several different remote code repositories. By default, You can collaborate with people in different teams in the same project. You can set different collaboration processes as needed, such as hierarchical workflow, which cannot be implemented in previous centralized systems.
Recommended reading:
Fedora downloads Git through Http Proxy
Install Git on Ubuntu Server
Create a Git repository on the server (Ubuntu)
Git simple tutorial in Linux (taking Android as an example)
Git authoritative guide PDF
For more details, please continue to read the highlights on the next page: