SlideShare a Scribd company logo
Ronald Roni Saha
ronaldsaha@gmail.com
Sr. System Developer, SoftwarePeople
Selecting your Version
Control
Problem
Problem
Have you ever faced situations like the followings,
๏‚จ Commented out codes.
๏‚จ Maintain multiple versions of same project.
๏‚จ Share your code, or work in a team on same code.
๏‚จ Experimenting with a new feature without interfering with working
code
๏‚จ Lost code or hard disk crashed or had a backup that was too old.
๏‚จ Made a change to code, realized it was a mistake and wanted to
revert back.
๏‚จ Want to see the difference between two (or more) versions of your
Version Control
A version control system (also known as a Revision Control
System) is a repository of files, often the files for the source
code of computer programs, with monitored access. Every
change made to the source is tracked, along with who made
the change, why they made it, and references to problems
fixed, or enhancements introduced, by the change.
Types of Version Control
๏‚จ Centralized version control systems
๏‚จ Distributed version control systems
Version Control
Terminology
๏‚จ Repository
๏‚จ Working Copy
๏‚จ Revision/Version
๏‚จ Trunk/Master
๏‚จ Branch
๏‚จ Head
๏‚จ Check out/Check in - Pull changes/Push changes
๏‚จ Commit changes
Version Control
Version Control
Benefits in using Version Control
๏‚จ What, who, why and when
๏‚จ Compare revision
๏‚จ Coordinating Teams
๏‚จ Branching
๏‚จ Backup
๏‚จ History of changes
Team foundation version control and
Git
Team foundation version control
๏‚จ It is a centralized version control system.
๏‚จ It is default version control system for Microsoft Team Foundation.
๏‚จ Check out means downloading a snapshot of the code at a specific
point of time.
๏‚จ Check-in lock
๏‚จ Enforce check in policies
๏‚จ Shelving or stashing your changes stored in server.
Team foundation version control and
Git
Git
๏‚จ It is a distributed version control system.
๏‚จ It can be optionally selected as a version control for Microsoft Team
Foundation System.
๏‚จ Check out of working copy means cloning entire repository in local
system.
๏‚จ You can work offline.
๏‚จ You can make changes commit in local repository.
๏‚จ Shelving or stashing is done locally.
๏‚จ Creating branch is very easy to do.
Thank You
Ad

More Related Content

What's hot (20)

Understanding GIT and Version Control
Understanding GIT and Version ControlUnderstanding GIT and Version Control
Understanding GIT and Version Control
Sourabh Sahu
ย 
GIT | Distributed Version Control System
GIT | Distributed Version Control SystemGIT | Distributed Version Control System
GIT | Distributed Version Control System
Mohammad Imam Hossain
ย 
Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
Anurag Upadhaya
ย 
Introduction to Git Commands and Concepts
Introduction to Git Commands and ConceptsIntroduction to Git Commands and Concepts
Introduction to Git Commands and Concepts
Carl Brown
ย 
Version Control System
Version Control SystemVersion Control System
Version Control System
guptaanil
ย 
Git-flow workflow and pull-requests
Git-flow workflow and pull-requestsGit-flow workflow and pull-requests
Git-flow workflow and pull-requests
Bartosz Kosarzycki
ย 
Formation autour de git et git lab
Formation autour de git et git labFormation autour de git et git lab
Formation autour de git et git lab
Abdelghani Azri
ย 
Learning git
Learning gitLearning git
Learning git
Sid Anand
ย 
Source Code management System
Source Code management SystemSource Code management System
Source Code management System
Karthikeyan Annamalai
ย 
Git for beginners
Git for beginnersGit for beginners
Git for beginners
Arulmurugan Rajaraman
ย 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
ramubonkuri
ย 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
Dilum Navanjana
ย 
Github
GithubGithub
Github
piyush khadse
ย 
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
Edureka!
ย 
Git Branching Model
Git Branching ModelGit Branching Model
Git Branching Model
Harun Yardฤฑmcฤฑ
ย 
Git and git flow
Git and git flowGit and git flow
Git and git flow
Fran Garcรญa
ย 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Vikram SV
ย 
Github
GithubGithub
Github
JaneAlamAdnan
ย 
Git Terminologies
Git TerminologiesGit Terminologies
Git Terminologies
Yash
ย 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
Jeremy Coates
ย 
Understanding GIT and Version Control
Understanding GIT and Version ControlUnderstanding GIT and Version Control
Understanding GIT and Version Control
Sourabh Sahu
ย 
GIT | Distributed Version Control System
GIT | Distributed Version Control SystemGIT | Distributed Version Control System
GIT | Distributed Version Control System
Mohammad Imam Hossain
ย 
Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
Anurag Upadhaya
ย 
Introduction to Git Commands and Concepts
Introduction to Git Commands and ConceptsIntroduction to Git Commands and Concepts
Introduction to Git Commands and Concepts
Carl Brown
ย 
Version Control System
Version Control SystemVersion Control System
Version Control System
guptaanil
ย 
Git-flow workflow and pull-requests
Git-flow workflow and pull-requestsGit-flow workflow and pull-requests
Git-flow workflow and pull-requests
Bartosz Kosarzycki
ย 
Formation autour de git et git lab
Formation autour de git et git labFormation autour de git et git lab
Formation autour de git et git lab
Abdelghani Azri
ย 
Learning git
Learning gitLearning git
Learning git
Sid Anand
ย 
Source Code management System
Source Code management SystemSource Code management System
Source Code management System
Karthikeyan Annamalai
ย 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
ramubonkuri
ย 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
Dilum Navanjana
ย 
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
Edureka!
ย 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Vikram SV
ย 
Git Terminologies
Git TerminologiesGit Terminologies
Git Terminologies
Yash
ย 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
Jeremy Coates
ย 

Viewers also liked (10)

Desarrollo Web
Desarrollo WebDesarrollo Web
Desarrollo Web
Adolfo Fitoria
ย 
ยฟCรณmo aprender Python sin morir en el intento?
ยฟCรณmo aprender Python sin morir en el intento?ยฟCรณmo aprender Python sin morir en el intento?
ยฟCรณmo aprender Python sin morir en el intento?
Adolfo Fitoria
ย 
A brief introduction to version control systems
A brief introduction to version control systemsA brief introduction to version control systems
A brief introduction to version control systems
Tim Staley
ย 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
ย 
Control de versiones con Git
Control de versiones con GitControl de versiones con Git
Control de versiones con Git
Adolfo Fitoria
ย 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
Craig Smith
ย 
Introduction to Version Control and Configuration Management
Introduction to Version Control and Configuration ManagementIntroduction to Version Control and Configuration Management
Introduction to Version Control and Configuration Management
Philip Johnson
ย 
What is version control software and why do you need it?
What is version control software and why do you need it?What is version control software and why do you need it?
What is version control software and why do you need it?
Leonid Mamchenkov
ย 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
Yoad Snapir
ย 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
Randal Schwartz
ย 
Desarrollo Web
Desarrollo WebDesarrollo Web
Desarrollo Web
Adolfo Fitoria
ย 
ยฟCรณmo aprender Python sin morir en el intento?
ยฟCรณmo aprender Python sin morir en el intento?ยฟCรณmo aprender Python sin morir en el intento?
ยฟCรณmo aprender Python sin morir en el intento?
Adolfo Fitoria
ย 
A brief introduction to version control systems
A brief introduction to version control systemsA brief introduction to version control systems
A brief introduction to version control systems
Tim Staley
ย 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
ย 
Control de versiones con Git
Control de versiones con GitControl de versiones con Git
Control de versiones con Git
Adolfo Fitoria
ย 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
Craig Smith
ย 
Introduction to Version Control and Configuration Management
Introduction to Version Control and Configuration ManagementIntroduction to Version Control and Configuration Management
Introduction to Version Control and Configuration Management
Philip Johnson
ย 
What is version control software and why do you need it?
What is version control software and why do you need it?What is version control software and why do you need it?
What is version control software and why do you need it?
Leonid Mamchenkov
ย 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
Yoad Snapir
ย 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
Randal Schwartz
ย 
Ad

Similar to Version control (20)

version control system (2).pptx
version control system (2).pptxversion control system (2).pptx
version control system (2).pptx
DipanshuRaj19
ย 
Source code management
Source code managementSource code management
Source code management
Widoyo PH
ย 
ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
Abhishek Srivastava
ย 
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Revelation Technologies
ย 
What is and why version control systems
What is and why version control systemsWhat is and why version control systems
What is and why version control systems
ahmed fakhr
ย 
Source Code Management Slides
Source Code Management SlidesSource Code Management Slides
Source Code Management Slides
daschuck
ย 
Subversion
SubversionSubversion
Subversion
Murtaza Abbas
ย 
Configuration management
Configuration managementConfiguration management
Configuration management
Mohammed Abdallah
ย 
How to use CVS applied to SOLab
How to use CVS applied to SOLabHow to use CVS applied to SOLab
How to use CVS applied to SOLab
Pablo Arriazu
ย 
Subversion
SubversionSubversion
Subversion
wiradikusuma
ย 
Intro To Version Control
Intro To Version ControlIntro To Version Control
Intro To Version Control
ceardach
ย 
Version control
Version controlVersion control
Version control
Sean Hayes
ย 
02-version control(DevOps Series)
02-version control(DevOps Series)02-version control(DevOps Series)
02-version control(DevOps Series)
Mohammed Shaban
ย 
the Version Control systemlocalized.pptx
the Version Control systemlocalized.pptxthe Version Control systemlocalized.pptx
the Version Control systemlocalized.pptx
rkalpanase
ย 
Version Control Training - First Lego League
Version Control Training - First Lego LeagueVersion Control Training - First Lego League
Version Control Training - First Lego League
Jeffrey T. Pollock
ย 
Slide set 7 (Source Code Management History Overview) - Copy.pptx
Slide set 7 (Source Code Management History  Overview) - Copy.pptxSlide set 7 (Source Code Management History  Overview) - Copy.pptx
Slide set 7 (Source Code Management History Overview) - Copy.pptx
UTKARSHBHARDWAJ71
ย 
SVN Information
SVN Information  SVN Information
SVN Information
RAHUL TRIPATHI
ย 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
Ahmed Taha
ย 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
elliando dias
ย 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
Alec Clews
ย 
version control system (2).pptx
version control system (2).pptxversion control system (2).pptx
version control system (2).pptx
DipanshuRaj19
ย 
Source code management
Source code managementSource code management
Source code management
Widoyo PH
ย 
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Revelation Technologies
ย 
What is and why version control systems
What is and why version control systemsWhat is and why version control systems
What is and why version control systems
ahmed fakhr
ย 
Source Code Management Slides
Source Code Management SlidesSource Code Management Slides
Source Code Management Slides
daschuck
ย 
Configuration management
Configuration managementConfiguration management
Configuration management
Mohammed Abdallah
ย 
How to use CVS applied to SOLab
How to use CVS applied to SOLabHow to use CVS applied to SOLab
How to use CVS applied to SOLab
Pablo Arriazu
ย 
Subversion
SubversionSubversion
Subversion
wiradikusuma
ย 
Intro To Version Control
Intro To Version ControlIntro To Version Control
Intro To Version Control
ceardach
ย 
Version control
Version controlVersion control
Version control
Sean Hayes
ย 
02-version control(DevOps Series)
02-version control(DevOps Series)02-version control(DevOps Series)
02-version control(DevOps Series)
Mohammed Shaban
ย 
the Version Control systemlocalized.pptx
the Version Control systemlocalized.pptxthe Version Control systemlocalized.pptx
the Version Control systemlocalized.pptx
rkalpanase
ย 
Version Control Training - First Lego League
Version Control Training - First Lego LeagueVersion Control Training - First Lego League
Version Control Training - First Lego League
Jeffrey T. Pollock
ย 
Slide set 7 (Source Code Management History Overview) - Copy.pptx
Slide set 7 (Source Code Management History  Overview) - Copy.pptxSlide set 7 (Source Code Management History  Overview) - Copy.pptx
Slide set 7 (Source Code Management History Overview) - Copy.pptx
UTKARSHBHARDWAJ71
ย 
SVN Information
SVN Information  SVN Information
SVN Information
RAHUL TRIPATHI
ย 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
Ahmed Taha
ย 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
elliando dias
ย 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
Alec Clews
ย 
Ad

More from Shahriar Iqbal Chowdhury (14)

Community
CommunityCommunity
Community
Shahriar Iqbal Chowdhury
ย 
Cloud friendly Enterprise Architecture
Cloud friendly Enterprise ArchitectureCloud friendly Enterprise Architecture
Cloud friendly Enterprise Architecture
Shahriar Iqbal Chowdhury
ย 
Interactive SDLC
Interactive SDLCInteractive SDLC
Interactive SDLC
Shahriar Iqbal Chowdhury
ย 
Enterprise business Inteligence
Enterprise business Inteligence Enterprise business Inteligence
Enterprise business Inteligence
Shahriar Iqbal Chowdhury
ย 
Big Data
Big DataBig Data
Big Data
Shahriar Iqbal Chowdhury
ย 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
Shahriar Iqbal Chowdhury
ย 
Node JS
Node JSNode JS
Node JS
Shahriar Iqbal Chowdhury
ย 
Application development gadget & gears
Application development gadget & gearsApplication development gadget & gears
Application development gadget & gears
Shahriar Iqbal Chowdhury
ย 
SPA
SPASPA
SPA
Shahriar Iqbal Chowdhury
ย 
Design Pattern that every cloud developer must know
Design Pattern that every cloud developer must know Design Pattern that every cloud developer must know
Design Pattern that every cloud developer must know
Shahriar Iqbal Chowdhury
ย 
Strategy Pattern
Strategy PatternStrategy Pattern
Strategy Pattern
Shahriar Iqbal Chowdhury
ย 
Observer pattern
Observer patternObserver pattern
Observer pattern
Shahriar Iqbal Chowdhury
ย 
Adapter Design Pattern
Adapter Design PatternAdapter Design Pattern
Adapter Design Pattern
Shahriar Iqbal Chowdhury
ย 
Factory method pattern
Factory method patternFactory method pattern
Factory method pattern
Shahriar Iqbal Chowdhury
ย 

Recently uploaded (20)

AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
ย 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
ย 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
ย 
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
ย 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
ย 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
ย 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
ย 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
ย 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 
HCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
HCL Nomad Web โ€“ Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
HCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
panagenda
ย 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
ย 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
ย 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
ย 
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything โ€“ Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
ย 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
ย 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
ย 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
ย 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
ย 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 
HCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
HCL Nomad Web โ€“ Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
HCL Nomad Web โ€“ Best Practices and Managing Multiuser Environments
panagenda
ย 

Version control

  • 1. Ronald Roni Saha [email protected] Sr. System Developer, SoftwarePeople Selecting your Version Control
  • 3. Problem Have you ever faced situations like the followings, ๏‚จ Commented out codes. ๏‚จ Maintain multiple versions of same project. ๏‚จ Share your code, or work in a team on same code. ๏‚จ Experimenting with a new feature without interfering with working code ๏‚จ Lost code or hard disk crashed or had a backup that was too old. ๏‚จ Made a change to code, realized it was a mistake and wanted to revert back. ๏‚จ Want to see the difference between two (or more) versions of your
  • 4. Version Control A version control system (also known as a Revision Control System) is a repository of files, often the files for the source code of computer programs, with monitored access. Every change made to the source is tracked, along with who made the change, why they made it, and references to problems fixed, or enhancements introduced, by the change. Types of Version Control ๏‚จ Centralized version control systems ๏‚จ Distributed version control systems
  • 5. Version Control Terminology ๏‚จ Repository ๏‚จ Working Copy ๏‚จ Revision/Version ๏‚จ Trunk/Master ๏‚จ Branch ๏‚จ Head ๏‚จ Check out/Check in - Pull changes/Push changes ๏‚จ Commit changes
  • 7. Version Control Benefits in using Version Control ๏‚จ What, who, why and when ๏‚จ Compare revision ๏‚จ Coordinating Teams ๏‚จ Branching ๏‚จ Backup ๏‚จ History of changes
  • 8. Team foundation version control and Git Team foundation version control ๏‚จ It is a centralized version control system. ๏‚จ It is default version control system for Microsoft Team Foundation. ๏‚จ Check out means downloading a snapshot of the code at a specific point of time. ๏‚จ Check-in lock ๏‚จ Enforce check in policies ๏‚จ Shelving or stashing your changes stored in server.
  • 9. Team foundation version control and Git Git ๏‚จ It is a distributed version control system. ๏‚จ It can be optionally selected as a version control for Microsoft Team Foundation System. ๏‚จ Check out of working copy means cloning entire repository in local system. ๏‚จ You can work offline. ๏‚จ You can make changes commit in local repository. ๏‚จ Shelving or stashing is done locally. ๏‚จ Creating branch is very easy to do.

Editor's Notes

  • #4: The code programmers write changes often. Bugs need to be fixed, features need to be added, and content needs to be changed. Most code is stored as plain old text files, and the code is changed by editing these files. Every time a change is saved, the old version of the file is overwritten with a new one. Unfortunately, no programmer is perfect, and sometimes, mistakes are made. If you make a change to a file, save it, compile it, and find out that something went wrong, it's often helpful to be able to go back to the old version or to get a report of what was actually changed, in order to focus on what may have gone wrong. That's where Version Control Systems come in.
  • #5: Centralized version control systems are based on the idea that there is a single "central" copy of your project somewhere (probably on a server), and programmers will "commit" their changes to this central copy. ย  Distributed version control systems do not necessarily rely on a central server to store all the versions of a project's files. Instead, every developer "clones" a copy of a repository and has theย fullย history of the project on their own hard drive. This copy (or "clone") has all of the metadata of the original.
  • #6: Repository: Database with the complete revision history of all files under version control Working Copy: Local directory of files under version control where you can make changes Revision/Version: Snapshot(set of changes, state) of file or files in a point of time. Trunk/Master: The primary set of files in repository. Branch: A copy (or snapshot) of the repository that can be tracked in parallel without altering the main copy. Head: The latest revision in current branch.
  • #8: What, who, why and when: Knowing the what, who, why and when of changes. That helps comparing the performance of particular versions, working out when bugs were introduced (or fixed), and so on. Any problems that arose from a change can then be examined by what, who, why and when of the change. Compare revision: Developers may wish to compare todayโ€™s version of some software with yesterdayโ€™s version or last yearโ€™s version. Coordinating Teams: Allows Team to share resources. It lets one contributor work on a copy of the resources and then release their changes back to the common core when ready. Other contributors work on their own copies of the same resources at the same time, unaffected by each otherโ€™s changes until they choose to merge orย commitย their changes back to the project. Branching: You can use branches to work on longer-term tasks and then merge the branch back into the main line when it's done. Maintains separate โ€œProductionโ€ versions of code that are always deployable. It let you have multiple parallel lines of development. You can work in two simultaneous features without interference and switch back and forth without much hassle. Backup: You can have a backup. You can recover any revision of any file based on date or on a milestone that you defined. History: You can have a history of changes.