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

PDF
DevOps for beginners
PDF
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
PPTX
PDF
HITRUST 101: All the basics you need to know
PPT
Embedded systems and their applications in our daily routine
PPTX
Cyber security
PPTX
Query processing and optimization (updated)
PDF
Project Management Tools & Techniques | PMPĀ® Training Videos | Project Manage...
DevOps for beginners
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
HITRUST 101: All the basics you need to know
Embedded systems and their applications in our daily routine
Cyber security
Query processing and optimization (updated)
Project Management Tools & Techniques | PMPĀ® Training Videos | Project Manage...

What's hot (20)

PDF
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
PDF
Git training v10
PDF
Git Introduction Tutorial
PDF
Git real slides
PDF
Intro to Git and GitHub
PPTX
Jenkins tutorial
PDF
Git 101: Git and GitHub for Beginners
PDF
Git and github 101
PPTX
Gitlab CI/CD
PPTX
BitBucket presentation
PPT
Version Control System
PDF
Introduction to CICD
PPTX
Git 101 for Beginners
PPT
Git basic
PDF
Introduction to Git
ODP
Introduction to Version Control
PDF
Git & GitHub WorkShop
PPTX
Github basics
PPTX
Introduction to Git and GitHub
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Git training v10
Git Introduction Tutorial
Git real slides
Intro to Git and GitHub
Jenkins tutorial
Git 101: Git and GitHub for Beginners
Git and github 101
Gitlab CI/CD
BitBucket presentation
Version Control System
Introduction to CICD
Git 101 for Beginners
Git basic
Introduction to Git
Introduction to Version Control
Git & GitHub WorkShop
Github basics
Introduction to Git and GitHub
Ad

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

PDF
CICD_1670665418.pdf
PPTX
Session 2
PPTX
Session 2
PDF
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
PDF
How to debug IoT Agents
PDF
Increase the Velocity of Your Software Releases Using GitHub and DeployHub
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
PDF
Gitlab ci, cncf.sk
PDF
.Git for WordPress Developers
PDF
Tekton_ArgoCD-_KCD_Taiwan-cicd-openshift
PPTX
Software Factory - Overview
PPTX
Perforce Innovations ShowcaseĀ 
PPTX
2015-ghci-presentation-git_gerritJenkins_final
PDF
Next Level DevOps Implementation with GitOps
PDF
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
PDF
O'Leary - Using GitHub for Enterprise and Open Source Documentation
PPTX
drupal ci cd concept cornel univercity.pptx
PPTX
Version control
PDF
Make a better DevOps with GitOps
Ā 
PDF
Cloud native - CI/CD
CICD_1670665418.pdf
Session 2
Session 2
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
How to debug IoT Agents
Increase the Velocity of Your Software Releases Using GitHub and DeployHub
What is GitOps? How GitOps works? we discuss Key Challanges.
Gitlab ci, cncf.sk
.Git for WordPress Developers
Tekton_ArgoCD-_KCD_Taiwan-cicd-openshift
Software Factory - Overview
Perforce Innovations ShowcaseĀ 
2015-ghci-presentation-git_gerritJenkins_final
Next Level DevOps Implementation with GitOps
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
O'Leary - Using GitHub for Enterprise and Open Source Documentation
drupal ci cd concept cornel univercity.pptx
Version control
Make a better DevOps with GitOps
Ā 
Cloud native - CI/CD
Ad

More from Edureka! (20)

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

Recently uploaded (20)

PDF
Software Development Methodologies in 2025
Ā 
PDF
Event Presentation Google Cloud Next Extended 2025
PDF
Test Bank, Solutions for Java How to Program, An Objects-Natural Approach, 12...
PDF
Enable Enterprise-Ready Security on IBM i Systems.pdf
PDF
Chapter 2 Digital Image Fundamentals.pdf
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Smarter Business Operations Powered by IoT Remote Monitoring
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
PPTX
How Much Does It Cost to Build a Train Ticket App like Trenitalia in Italy.pptx
PDF
Doc9.....................................
PPTX
Comunidade Salesforce SĆ£o Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
PDF
REPORT: Heating appliances market in Poland 2024
Ā 
PDF
Dell Pro 14 Plus: Be better prepared for what’s coming
Software Development Methodologies in 2025
Ā 
Event Presentation Google Cloud Next Extended 2025
Test Bank, Solutions for Java How to Program, An Objects-Natural Approach, 12...
Enable Enterprise-Ready Security on IBM i Systems.pdf
Chapter 2 Digital Image Fundamentals.pdf
Revolutionize Operations with Intelligent IoT Monitoring and Control
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Smarter Business Operations Powered by IoT Remote Monitoring
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
How Much Does It Cost to Build a Train Ticket App like Trenitalia in Italy.pptx
Doc9.....................................
Comunidade Salesforce SĆ£o Paulo - Desmistificando o Omnistudio (Vlocity)
NewMind AI Weekly Chronicles - August'25 Week I
ChatGPT's Deck on The Enduring Legacy of Fax Machines
REPORT: Heating appliances market in Poland 2024
Ā 
Dell Pro 14 Plus: Be better prepared for what’s coming

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