Lecture 01 – VERSION CONTROL SYSTEM AND GIT
WHAT IS VERSION CONTROL
What Is Version Control?
VERSION CONTROL, also known as source control, is the practice of tracking and managing changes to software code. Version control systems (VCS) are software tools that help software teams manage changes to source code over time.
ISSUES BEFORE VERSION CONTROL
Let’s imagine that a Developer (A) started a software company and creates a code for software apps.
Before Version Control
As the company grows, they hire more Developers to enhance the features of the software. Developer (A) shares the source code copy with each new developers.
Before Version Control
Developer (B) does his own part, enhance the features and forward it to Developer (A ).
Before Version Control
Developer (A) will then verifies the changes and if all looks good, he will merge the code to the main software code to be Version 2.
The Issues
The problem starts when Developer (C) also completed his own task and submit the changes to Developer (A) but remember Developer (C) only worked on Version 1.
The Issues
Developer (A) will then verifies the features and manually integrates the changes with Version 2 and then upgrade it to Version 3.
The Issues
Similarly when Developer (D) task is done, he will submit the features code to Developer (A) who will also verifies it and manually integrate the changes with Version 3 and upgrades the software to Version 4.
Disadvantage Of Version Control
Advantage Of Version Control
TYPES OF VERSION CONTROL SYSTEMS
Distributed Version Control System
Centralized Version Control System
Difference Between Dvcs & Cvcs
WHAT IS GIT?
GIT is a DevOps tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.
WHY GIT
GIT is the most popular tool among all the DVCS tools.
