Version Control System
By: Aryman Gautam
Content
 What is?
 History
 Types
 CVCS
 DVCS
 What is Git?
 Life Cycle
 Work flow
 Git Commands
 Git Vs GitHub
 GitHub pages
Version Control System?
Version control systems are a category of
software tools that help a software team manage
changes to:
 Source code over time
 Track of every modification
 Clock and compare earlier versions
 Minimizing disruption
History
The history of version control tools can be divided
into three generations.
Genertaion Networking Operations Concurrency Example
First None One File at a
time
Locks RCS, SCCS
Second Centralized Multi-file Merge
before
Commit
CVS,
SourceSafe,
Subversion
Third Distributed Change sets Commit
before
Merge
Bazaar,
Git,
BitBucket
Types
 Centralized version control system(CVCS)
 Distributed/Decentralized version control
system(DVCS)
Version Control System
Centralized version control system
Distributed/Decentralized
version control system
Centralized version control system?
A centralized version control system means that the
version history is stored in a central server.
Example: SVN
Distributed/Decentralized version control system?
This is a form of version control where the complete codebase –
including its full history – is mirrored on every developer's computer.
Example: Git
What is Git?
 Git is a very well supported open source project.
 Git is a mature, actively maintained open source project
originally developed in 2005 by Linus Torvalds.
 In Git, every developer's working copy of the code.
 Git has the functionality, performance, security and
flexibility
Life Cycle - Git
Repository
Working
Copy
Modify Working
Copy
Review Changes
Commit Changes
Fix Mistakes
Clone Operation
Update Operation
Push Operation
Push Operation
Add, Edit
Status
Commit and push
Amend and push
Git Workflow – Starting Local
Working
Directory
Local Remote
Staging
Area
Git Repository GitHub
init
Setup
Work
add
commit Push
Git Workflow – Starting Remote
Git Command(Local)
Git Command(Remote)
Git Vs GitHub
Git: It is a Distributed Version Control System for tracking
versions of files.
Github: It is web portal and cloud hosting service for your Git
repositories.
GitHub Pages
GitHub Pages is a static site hosting
service designed to host your personal,
organization, or project pages directly
from a GitHub repository.
Examples
Version control system
Version control system

Version control system

  • 1.
  • 2.
    Content  What is? History  Types  CVCS  DVCS  What is Git?  Life Cycle  Work flow  Git Commands  Git Vs GitHub  GitHub pages
  • 3.
    Version Control System? Versioncontrol systems are a category of software tools that help a software team manage changes to:  Source code over time  Track of every modification  Clock and compare earlier versions  Minimizing disruption
  • 4.
    History The history ofversion control tools can be divided into three generations. Genertaion Networking Operations Concurrency Example First None One File at a time Locks RCS, SCCS Second Centralized Multi-file Merge before Commit CVS, SourceSafe, Subversion Third Distributed Change sets Commit before Merge Bazaar, Git, BitBucket
  • 5.
    Types  Centralized versioncontrol system(CVCS)  Distributed/Decentralized version control system(DVCS)
  • 6.
    Version Control System Centralizedversion control system Distributed/Decentralized version control system
  • 7.
    Centralized version controlsystem? A centralized version control system means that the version history is stored in a central server. Example: SVN
  • 8.
    Distributed/Decentralized version controlsystem? This is a form of version control where the complete codebase – including its full history – is mirrored on every developer's computer. Example: Git
  • 9.
    What is Git? Git is a very well supported open source project.  Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds.  In Git, every developer's working copy of the code.  Git has the functionality, performance, security and flexibility
  • 10.
    Life Cycle -Git Repository Working Copy Modify Working Copy Review Changes Commit Changes Fix Mistakes Clone Operation Update Operation Push Operation Push Operation Add, Edit Status Commit and push Amend and push
  • 11.
    Git Workflow –Starting Local Working Directory Local Remote Staging Area Git Repository GitHub init Setup Work add commit Push
  • 12.
    Git Workflow –Starting Remote
  • 13.
  • 14.
  • 15.
    Git Vs GitHub Git:It is a Distributed Version Control System for tracking versions of files. Github: It is web portal and cloud hosting service for your Git repositories.
  • 17.
    GitHub Pages GitHub Pagesis a static site hosting service designed to host your personal, organization, or project pages directly from a GitHub repository.
  • 18.