Introduction to Git

Version Control

Learning Outcome

4

Relate version control to real IT project work

3

Explain how version control helps individuals and teams

2

Identify problems that occur without version control

1

Understand what version control means in simple terms

Recall

To achieve this control, we first need to understand the concept behind it, which is Version Control

Writing an Assignment Over Time

Imagine working on an assignment:

Final submission

Changes after feedback

First draft

If you save only one file:

Old work is lost

You cannot compare changes

Version control works like saving every important draft,
so you can go back, compare or fix mistakes anytime

Connecting the Example to the Concept

The same problem happens in software projects, but on a much larger scale

 Instead of one document, there are many files and many people

index.html

main.js

config.yaml

login.py

style.css

To manage this properly, we use the concept of Version Control

Connecting the Example to the Concept

Understanding the Real Problem First

Imagine working on a digital project that keeps changing
     Every small improvement means editing files again and again

Connecting the Example to the Concept

Now think:

  • Work changes over time & without proper tracking, mistakes become hard to fix
  • Version control records every change and allows safe recovery when needed

Connecting the Example to the Concept

Now think:

But there is no record of what changed

when it changed or who changed it

This situation is very common in software work
Version Control exists to solve exactly this problem

Why Version Control Is Needed

Without version control:

  • Files get overwritten
  • Older work is lost
  • Fixing mistakes becomes risky
  • No clarity on the latest version

Why Version Control Is Needed

With version control:

  • Every change is recorded
  • Previous work remains safe
  • Work stays organized

What Is Version Control?

Version control is a system that:

Keeps track of changes made to files

Maintains different versions of the same work

Records when changes were made

Version 1.0

Version 3.0

Version 2.0

Version control remembers how a project changes over time

How Version Control Helps Individuals

Version control helps individuals to:

Track their own progress

Experiment without fear

Undo mistakes easily

How Version Control Helps Teams

In team-based projects:

Multiple people work on the same files

Changes happen at the same time

How Version Control Helps Teams

Version control helps teams to:

Avoid overwriting each other’s work​ & Stay aligned

Manage shared work safely

Understanding Version Control Basics

Versions – saved states of work

Recovery – ability to go back to earlier work

History – timeline of changes

Change Tracking – record of updates

Importance of Version Control in IT Industry

IT companies use version control to:

Manage long-term projects

Support teamwork

Reduce risk during changes

Maintain consistency

Version control is a foundation concept, not a tool

Summary

5

It is essential in IT projects

4

It reduces confusion and risk

3

It supports teamwork

2

It prevents loss of work

1

Version control manages changes over time

Quiz

What is the main purpose of version control ?

A. Writing code faster

B. Tracking and managing changes

C. Running applications

D. Designing software

What is the main purpose of version control ?

A. Writing code faster

B. Tracking and managing changes

C. Running applications

D. Designing software

Quiz-Answer

DevOps: Version Control

By Content ITV

DevOps: Version Control

  • 19