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
Introduction to Git
Yan Vugenfirer
 
PDF
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
PPT
Maven Introduction
Sandeep Chawla
 
PPTX
Modern CI/CD Pipeline Using Azure DevOps
GlobalLogic Ukraine
 
PDF
Jenkins tutorial
HarikaReddy115
 
PPTX
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
PPTX
Introduction to jenkins
Abe Diaz
 
PPTX
Azure DevOps CI/CD For Beginners
Rahul Nath
 
PDF
Introduction to GitHub Actions
Knoldus Inc.
 
ODP
An Introduction To Jenkins
Knoldus Inc.
 
PDF
DevOps with GitHub Actions
Nilesh Gule
 
PDF
Introduction to GitHub Actions
Bo-Yi Wu
 
PPT
Git basic
Emran Ul Hadi
 
PDF
Introduction to Github Actions
Knoldus Inc.
 
PDF
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
PPTX
CICD Pipeline Using Github Actions
Kumar Shìvam
 
PDF
DevOps
Hakan Yüksel
 
PPTX
Github basics
Radoslav Georgiev
 
PPTX
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
PDF
Git Version Control System
KMS Technology
 
Introduction to Git
Yan Vugenfirer
 
Git Tutorial | Git Basics - Branching, Merging, Rebasing | Learn Git | DevOps...
Edureka!
 
Maven Introduction
Sandeep Chawla
 
Modern CI/CD Pipeline Using Azure DevOps
GlobalLogic Ukraine
 
Jenkins tutorial
HarikaReddy115
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
Introduction to jenkins
Abe Diaz
 
Azure DevOps CI/CD For Beginners
Rahul Nath
 
Introduction to GitHub Actions
Knoldus Inc.
 
An Introduction To Jenkins
Knoldus Inc.
 
DevOps with GitHub Actions
Nilesh Gule
 
Introduction to GitHub Actions
Bo-Yi Wu
 
Git basic
Emran Ul Hadi
 
Introduction to Github Actions
Knoldus Inc.
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
CICD Pipeline Using Github Actions
Kumar Shìvam
 
DevOps
Hakan Yüksel
 
Github basics
Radoslav Georgiev
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
Git Version Control System
KMS Technology
 

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

PPTX
Workflows using Git GitHub | Edureka
Edureka!
 
PDF
Know the Science behind WorkFlows using Git & GitHhub
Edureka!
 
PDF
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
Edureka!
 
PDF
Git Prodigy Mastering Version Control with Git and GitHub Ebenezer Don
bredybunayo2
 
PDF
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
PDF
Version Control With Git Powerful Tools And Techniques For Collaborative Soft...
demorieyo
 
PDF
Git Learn Version Control With Git A Stepbystep Ultimate Beginners Guide Hutten
wuapulua764
 
PDF
Git Prodigy Mastering Version Control with Git and GitHub Ebenezer Don
nizeyereqica
 
PPTX
Git hub_pptx
PathanNadhiyaSulthan
 
PPTX
GIT INTRODUCTION
MohanRaviRohitth
 
PDF
Pragmatic version control using Git 1st Edition Travis Swicegood
sebigokgaje
 
PPTX
Do you git it
Hridyesh Bisht
 
PPTX
Git Overview
Mallikarjuna G D
 
PDF
Git Mastery
ShehryarSH1
 
PDF
Git & version control crash course
Eslam Saeed
 
PDF
Git introduction for Beginners
MortezaTaghaddomi
 
PDF
A Tutorial for GitHub.pdf
badrfathallah2
 
PDF
A Tutorial for GitHub.pdf
Amarnadh36
 
PPTX
Workshop on Source control, git merge walkthroughs
David Lawrence
 
PPTX
git Introduction.pptx
PrakharYadav58
 
Workflows using Git GitHub | Edureka
Edureka!
 
Know the Science behind WorkFlows using Git & GitHhub
Edureka!
 
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
Edureka!
 
Git Prodigy Mastering Version Control with Git and GitHub Ebenezer Don
bredybunayo2
 
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
Version Control With Git Powerful Tools And Techniques For Collaborative Soft...
demorieyo
 
Git Learn Version Control With Git A Stepbystep Ultimate Beginners Guide Hutten
wuapulua764
 
Git Prodigy Mastering Version Control with Git and GitHub Ebenezer Don
nizeyereqica
 
Git hub_pptx
PathanNadhiyaSulthan
 
GIT INTRODUCTION
MohanRaviRohitth
 
Pragmatic version control using Git 1st Edition Travis Swicegood
sebigokgaje
 
Do you git it
Hridyesh Bisht
 
Git Overview
Mallikarjuna G D
 
Git Mastery
ShehryarSH1
 
Git & version control crash course
Eslam Saeed
 
Git introduction for Beginners
MortezaTaghaddomi
 
A Tutorial for GitHub.pdf
badrfathallah2
 
A Tutorial for GitHub.pdf
Amarnadh36
 
Workshop on Source control, git merge walkthroughs
David Lawrence
 
git Introduction.pptx
PrakharYadav58
 
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)

PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 

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