Git Tutorial
By Jenni Choi for Udemy
Version Control
Git uses a system called Version Control it’s a system that allows you to revisit various versions of a file or set of files by recording changes. Through version control, one can revert a file or project to a previous version, track modifications and modifying individuals, and compare changes. By utilizing a Version Control System (VCS), mistakes with files can easily be rectified.
There three types of Version Control system :
- Local Version Control
- Centralized Version Control (CVS)
- Distributed Version Control (DVCS) : To prevent loss of data and continue of making new versions If a CVS goes down a DVCS allows clients to create mirrored repositories. These data backups can be easily be placed on the server to replace any lost information. Because the DVCS allows for multiple mirrored repositories, programmers working in teams can collaborate with each other in various ways to complete a joint project, which enables the use of various simultaneous workflows.
SO Git is A Distributed Version Control systems (DVCS) that mostly relies on local operations .
In order to collaborate on Git projects, you must interact with Remote repositories, versions of a project residing online or on a network. You can work with multiple repositories, for which you can have read/write or read-only privileges. Teams can use remote repositories to push information to and pull data from.