SlideShare a Scribd company logo
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Agenda:
➢ Version Control – What & Why?
➢ Version Control Tools
➢ GitHub & Git
➢ Case Study: Dominion Enterprises
➢ Git Features
➢ Git Operations & Commands
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
What is Version Control?
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Version Control System
➢ Version control is the
management of changes
to documents, computer
programs, large web sites,
and other collections of
information.
➢ These changes are usually
termed as “versions”.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Why Version Control?
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Collaboration
Task1
Task2
Task3
Task1
+
Task2
+
Task3
Before After
Combined Tasks
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Storing Versions
Version 1 Version 2 Version 3 Version 4 Version 5
➢ Snapshots of all versions are properly documented and stored.
➢ Versions are also named accurately.
GIT
REPOSITORY
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Backup
In any case if your central server crashes, a backup is always available in your local servers.
Local copy 1 Local copy 2 Local copy 3
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Analyze
When you change version -
➢ VCS provides you with proper description
➢ What exactly was changed
➢ When it was changed
And hence, you can analyze how your project evolved
between versions.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Version Control Tools
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Version Control System Tools
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Interest Over Time Graph
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Git & GitHub
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Git & GitHub
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
GitHub Case Study: Dominion Enterprises
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Dominion Enterprises Case-Study
Problem Statement: Each team has its own goals, projects, and budgets and they also have Unique needs and
workflows
Private
Code
They wanted to make private code “publicly” to make their work more transparent across the company
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Dominion Enterprises Case-Study
Reason for using
GitHub as the solution:
 They noticed that few of the teams were already using GitHub. Adopting a familiar
platform has also made onboarding easier for new employees.
 Having all of their code in one place makes it easier for them to collaborate on projects.
GitHub Enterprise has allowed us to store our company’s source
code in a central, corporately controlled system. - Joe Fuller, CIO
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
What is Git?
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
What is Git?
Git is a Distributed Version Control tool that supports distributed non-linear workflows by
providing data assurance for developing quality software.
Collaborator
Remote
Repository
Local
Repo
Local
Repo
Local
Repo
Local
Repo
Local
Repo
CollaboratorCollaborator
CollaboratorCollaborator
Local
Repo
Collaborator
Commit changes
to source code
Commit changes
to source code
Commit changes
to source code
Commit changes
to source code
Commit changes
to source code
Commit changes
to source code
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
Distributed Compatible Non-linear Branching Lightweight
EconomicalReliable SecureOpen SourceSpeed
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
Distributed Compatible Non-linear Branching Lightweight Spe
➢ Allows distributed development of code.
➢ Every developer has a local copy of the entire development history and changes are copied from one
repository to another.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
d Compatible Non-linear Branching Lightweight Speed Open So
➢ Compatible with existing systems & protocols.
➢ SVN & SVK repositories can be directly accessed using Git-SVN.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
e Non-linear Branching Lightweight Speed Open Source Reliable
➢ Supports non-linear development of software.
➢ Includes various techniques to navigate & visualize non-linear development history.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
Branching Lightweight Speed Open Source Reliable Secure
➢ It takes only a few seconds to create & merge branches.
➢ Master branch always contains production quality code.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
g Lightweight Speed Open Source Reliable Secure Economica
➢ Uses lossless compression technique to compress data on the client’s side.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
g Lightweight Speed Open Source Reliable Secure Economica
➢ Fetching data from local repository is 100 times faster than remote repository.
➢ GIT is one order of magnitude faster than other VCS tools.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
g Lightweight Speed Open Source Reliable Secure Economica
➢ You can modify its source code according to your needs.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
g Lightweight Speed Open Source Reliable Secure Economica
➢ On events of system crash, the lost data can be easily recovered from any of the local repositories of the
collaborators.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
g Lightweight Speed Open Source Reliable Secure Economica
➢ Uses SHA1 to name and identify objects.
➢ Every file & commit is checksummed and is retrieved by its checksum at time of checkout.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Features of Git
Lightweight Speed Open Source Reliable Secure Economical
➢ Released under GPL’s license. It is for free.
➢ All heavy lifting is done on client-side, hence a lot of money can be saved on costly servers.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
What is a Repository?
A directory or storage space where your projects can live. It can be local to a folder on your computer, or it
can be a storage space on GitHub or another online host. You can keep code files, text files, image files, you
name it, inside a repository.
There are two types of repositories:
1. Central Repository
2. Local Repository
Repository
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Central & Local Repository
Typically located
on remote server
Exclusively
consists of “.git”
repository folder
Meant for team
to share and
exchange data
CENTRAL
REPOSITORY
Typically located
on local machine
Resides as a .git
folder inside your
project’s root
Only admin of
the machine can
work with this
repo.
Central Repository Local Repository
Local Repo
Local RepoLocal Repo
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Git Operations & Commands
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Git Operations & Commands
Creating
repositories
Syncing
repositories
Making
changes
Parallel
development
git init
status
add
commit
add
origin
push
pull
merge rebasebranch
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Creating Repositories
Create Repo
Syncing Repos
Making Changes
Parallel
Development
Create your Central Repository on GitHub
Git Flow
Branching
Merging
Rebasing
Install Git on your local machine and use “git init” to create your
local repository.
OR
Download or clone your repository from GitHub.
git init
git clone
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Syncing Repositories
Create Repo
Making Changes
Parallel
Development
▪ Use ‘git add origin <link>’ to add remote repo.
▪ Pull files with ‘git pull’
▪ Push your own changes into central repo with ‘git
push’
Create Repo
Syncing Repos
Making Changes
Parallel
Development
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Making Changes
Create Repo
Syncing Repos
Making Changes
Parallel
Development
➢ It refers to recording snapshots of the
repository at a given time.
➢ Committed snapshots will never
change unless done explicitly.
git status
git add
git commit
➢ Lets you add files to your index.
➢ Tells you which files are added to index
and are ready to commit.
Index
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Parallel Development - Branching
Create Repo
Syncing Repos
Making Changes
Parallel
Development
➢ Branches are pointers to a specific commit.
➢ Branches are of two types:
• Local branches
• Remote-tracking branches
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Parallel Development - Merging
Create Repo
Syncing Repos
Making Changes
Parallel
Development
➢ It is a way to combine the work of different
branches together.
➢ Allows to branch off, develop a new feature &
combine it back in.
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Parallel Development - Rebasing
Create Repo
Syncing Repos
Making Changes
Parallel
Development
➢ This is also a way of combining the work between different branches.
➢ It can be used to make a linear sequence of commits.
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Git Flow
Create Repo
Syncing Repos
Making Changes
Parallel
Development
Git Flow
Branching
Merging
Rebasing
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Summary
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Summary
Version Control Version Control Tools
Features of Git Operations & Commands
Git & GitHub
Dominion Enterprises Case Study
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Thank You …
Questions/Queries/Feedback

More Related Content

What's hot (20)

PDF
Git & GitHub WorkShop
SheilaJimenezMorejon
 
PPTX
Introduction to git hub
Naveen Pandey
 
PDF
Introduction to GitHub Actions
Bo-Yi Wu
 
PDF
Git real slides
Lucas Couto
 
PPTX
Introduction to Gitlab | Gitlab 101 | Training Session
Anwarul Islam
 
PPT
Git101
Jason Noble
 
PPTX
Jenkins
penetration Tester
 
PDF
Git best practices workshop
Otto Kekäläinen
 
PPTX
Git branching strategies
jstack
 
PDF
A Practical Introduction to git
Emanuele Olivetti
 
PDF
Git training v10
Skander Hamza
 
PDF
Git and Github slides.pdf
Tilton2
 
PDF
Git and github 101
Senthilkumar Gopal
 
PPTX
Git One Day Training Notes
glen_a_smith
 
PPTX
Jenkins presentation
Valentin Buryakov
 
PPTX
Introduction git
Dian Sigit Prastowo
 
PDF
Git - An Introduction
Behzad Altaf
 
PDF
Version Control & Git
Craig Smith
 
PDF
github-actions.pdf
AbhaymithraReddy1
 
Git & GitHub WorkShop
SheilaJimenezMorejon
 
Introduction to git hub
Naveen Pandey
 
Introduction to GitHub Actions
Bo-Yi Wu
 
Git real slides
Lucas Couto
 
Introduction to Gitlab | Gitlab 101 | Training Session
Anwarul Islam
 
Git101
Jason Noble
 
Git best practices workshop
Otto Kekäläinen
 
Git branching strategies
jstack
 
A Practical Introduction to git
Emanuele Olivetti
 
Git training v10
Skander Hamza
 
Git and Github slides.pdf
Tilton2
 
Git and github 101
Senthilkumar Gopal
 
Git One Day Training Notes
glen_a_smith
 
Jenkins presentation
Valentin Buryakov
 
Introduction git
Dian Sigit Prastowo
 
Git - An Introduction
Behzad Altaf
 
Version Control & Git
Craig Smith
 
github-actions.pdf
AbhaymithraReddy1
 

Similar to What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutorial | Edureka (20)

PDF
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
PDF
CICD_1670665418.pdf
edsonJeancarloRuedaS
 
PPTX
Session 2
gayathiry
 
PPTX
Session 2
gayathiry
 
PDF
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
Edureka!
 
PDF
How to debug IoT Agents
Fernando Lopez Aguilar
 
PDF
Increase the Velocity of Your Software Releases Using GitHub and DeployHub
DevOps.com
 
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
PDF
.Git for WordPress Developers
mpvanwinkle
 
PDF
Tekton_ArgoCD-_KCD_Taiwan-cicd-openshift
bashwen2022
 
PPTX
Software Factory - Overview
slides_teltools
 
PPTX
Perforce Innovations Showcase 
Perforce
 
PPTX
2015-ghci-presentation-git_gerritJenkins_final
Mythri P K
 
PDF
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
PDF
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Michael Lihs
 
PDF
O'Leary - Using GitHub for Enterprise and Open Source Documentation
LavaCon
 
PPTX
drupal ci cd concept cornel univercity.pptx
rukuntravel
 
PPTX
Version control
Sean Hayes
 
PDF
Make a better DevOps with GitOps
Opsta
 
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
CICD_1670665418.pdf
edsonJeancarloRuedaS
 
Session 2
gayathiry
 
Session 2
gayathiry
 
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
Edureka!
 
How to debug IoT Agents
Fernando Lopez Aguilar
 
Increase the Velocity of Your Software Releases Using GitHub and DeployHub
DevOps.com
 
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
Gitlab ci, cncf.sk
Juraj Hantak
 
.Git for WordPress Developers
mpvanwinkle
 
Tekton_ArgoCD-_KCD_Taiwan-cicd-openshift
bashwen2022
 
Software Factory - Overview
slides_teltools
 
Perforce Innovations Showcase 
Perforce
 
2015-ghci-presentation-git_gerritJenkins_final
Mythri P K
 
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Michael Lihs
 
O'Leary - Using GitHub for Enterprise and Open Source Documentation
LavaCon
 
drupal ci cd concept cornel univercity.pptx
rukuntravel
 
Version control
Sean Hayes
 
Make a better DevOps with GitOps
Opsta
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

PPTX
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
PDF
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PDF
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PPTX
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
UiPath Agentic AI ile Akıllı Otomasyonun Yeni Çağı
UiPathCommunity
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
The Growing Value and Application of FME & GenAI
Safe Software
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Practical Applications of AI in Local Government
OnBoard
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 

What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutorial | Edureka