DevOps Classroom notes 02/Dec/2026

vcs basics and types vcs and git

basics of version control system

  • version control system is system that records changes to files over time so you recall specific version later

benefits:

  1. history – see how you project evolved.
  2. rollback – return to earlier state (can remove latest changes till you required )
  3. collaboartion: many people can work on same project or same application
  4. branching : working features isolated
  5. accountability: know what changes ? when done ? why done
  6. backup: history is stored safely.

Types of version control system

  1. local – versions stores in one machine Ex: RCS – revison version control system
  2. Centeralized (CVCS) – one centeral server Ex: subversions
  3. Distributed – every user having full copy of histoiry
    Ex: Git

Git

  • git is a free opensource , Distributed version control system

Key characteristics:

  1. Distributed: Every clone getting full repo download
  2. Fast: Most operations are in local
  3. snapshort-based : store every changes in snapshort
  4. integrity: everything is checked with sha id (sha256)
  5. cheap branching: branching are just lightweight pointer
  6. Non-linear development: parallel thousands of branches are suppourted.

Installtion git

offical

Run powershell as admin and run this cmd winget install --id Git.Git -e --source winget

TasK

  1. install git and create directory/folder git_repo and run below cmd
git init .
ls .git 

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%