SlideShare a Scribd company logo
Introduction to Git
Daniel Mann
Senior Software DevelopmentConsultant
InCycle Software
NewYork ▪ Seattle ▪ Montreal
Agenda
What is Git?
Overview of Centralized vs Distributed Version Control
Git in Visual Studio / TFS
Is It Right For Me?
What is Git?
- Distributed version control system
- Designed for the challenges of large-scale open-
source projects
- Supports fast, off-line work
Centralized Version Control
 One central code repository
 Requires a connection to perform most operations
 Check out
 Commit
 Merge
 Branch
 View History
 Can retrieve just the files you need
 Limited capability for offline work
 Conceptually simple
Distributed Version Control
 No central code repository
 Central repository is defined by convention
 Does not require a connection
 Can only retrieve an entire repository
 Higher learning curve
Centralized vs. Distributed
Central Server
Source
Code
Files FilesFiles PC 1 PC 2 PC 3
Repo
Remote Server
Repo
Repo Repo
Remote Server
Repo
PC 1
Repo
Distributed Version Control
Clone
Distributed Version Control
PC 1
Repository
Change 1
Change 2
Distributed Version Control
PC 1
Repository Commit
Branch
Merge
etcChange 1
Change 2
My Change
Distributed Version Control
PC 1
Repository
Remote Server
Repo
Pull Remote Changes
Change 1
Change 2
Change 3
Change 1
Change 2
My Change
Change 3
Change 1
Change 2
My Change
Change 3
Distributed Version Control
PC 1
Repository
Remote Server
Repo
Merge remote changes
with local changesChange 1
Change 2
My Change
Change 3
Change 1
Change 2
Change 3
Change 1
Change 2
My Change
Change 3
Change 4
Distributed Version Control
PC 1
Repository
Remote Server
Repo
Change 1
Change 2
Change 3
Change 1
Change 2
My Change
Change 3
Change 4
Push Local Changes
My Change
Change 4
Change 1
Change 2
My Change
Change 3
Change 4
Why Distributed?
 Work fully offline
 Encourages frequent commits
 Easy to switch work
 Powerful tools for viewing and rewriting history
 Increasingly popular
Why Not Distributed?
 Harder to use day-to-day
 Few non-OSS projects need the ability to rewrite
history
 Git does not handle binaries well
 Security is defined at the repository level
Git in Visual Studio
Works regardless
of your Git provider
…even against local repos.
Team Explorer
Team Explorer
Team Explorer
Team Explorer
First-class IDE support
Git in TFS
 Git and TFVC in the same project
 One TFVC repository
 Unlimited Git repository
Repository management
Web-based history
Web-based history
Code review via pull requests
Enforce quality via branch policies
Branch Policies
 Required automated build
Branch Policies
 Enforce requirement linking
Branch Policies
 Enforce code review
Should you make the switch?
Yes, if:
- You work offline frequently
- Your software is open-source
- You want to branch and merge frequently
Should you make the switch?
No, if:
- You never work offline
- Your software is closed-source
- Developers are productive and happy using
something else
- You require stringent code security
Best Practices
 Don’t Panic
 Do not put binaries in Git repositories!
 Manage binary dependencies via a package
manager
 Keep repos small (one repo == one application)
 Branch early, branch often. Don’t work directly on
master.
 Read the Docs!
/InCycleSoftware @InCycleSoftware /company/incycle-software incyclesoftware.com/blog/
Get started with Git!
For course/workshops overviews, see links below:
Course: Git Fundamentals–
http://incyclesoftware.com/course-git-fundamentals/
Course: Git in Team Foundation Server & VisualStudio -
http://incyclesoftware.com/course-git-in-team-foundation-server-visual-studio/
Workshop: Git Migration–
http://incyclesoftware.com/workshop-git-migration/
Toschedule a courseor workshop, emailus atinfo@incyclesoftware.com or call1-800-565-0510

More Related Content

What's hot (20)

PPTX
Perforce Innovations Showcase 
Perforce
 
PDF
Trunk based development for Beginners
Nebulaworks
 
PPTX
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
Abraham Marin-Perez
 
PDF
Continuous Integration 101
John Ferguson Smart Limited
 
ODP
Jenkins CI in Action
Mikhail Pobolovets
 
PDF
Perforce helix git swarm jan 2016(pva1) meetup
dsdata systems
 
PPTX
Continuous Integration and Continuous Deployment in Enterprise scenario
Davide Benvegnù
 
ZIP
Introduction To Continuous Integration
Christopher Read
 
PPTX
How to Work Efficiently in a Hybrid Git-Perforce Environment
Perforce
 
PDF
Improving software quality using Continuous Integration
Wouter Konecny
 
PDF
Git essentials
Otto Kekäläinen
 
PDF
Perforce - Under New Management by Konrad Litwin
Perforce
 
PDF
Enforce compliance policy with model-driven automation
Puppet
 
PPTX
Continuous Integration
Kelli Mohr
 
PPTX
Test-Driven-Development for Networking: Making CI Work for You by Colin McNam...
DevOps4Networks
 
PDF
Continuous Integration at T3CON08
Sebastian Kurfürst
 
PDF
Continuous integration and delivery
Danilo Pianini
 
PDF
A Reference Architecture to Enable Visibility and Traceability across the Ent...
CollabNet
 
PPTX
Jenkins Pipeline on your Local Box to Reduce Cycle Time
Luca Milanesio
 
PPTX
Scania: A DevOps Journey in an Automotive Enterprise  
Perforce
 
Perforce Innovations Showcase 
Perforce
 
Trunk based development for Beginners
Nebulaworks
 
Keeping Your CI/CD Pipeline as Fast as It Needs to Be
Abraham Marin-Perez
 
Continuous Integration 101
John Ferguson Smart Limited
 
Jenkins CI in Action
Mikhail Pobolovets
 
Perforce helix git swarm jan 2016(pva1) meetup
dsdata systems
 
Continuous Integration and Continuous Deployment in Enterprise scenario
Davide Benvegnù
 
Introduction To Continuous Integration
Christopher Read
 
How to Work Efficiently in a Hybrid Git-Perforce Environment
Perforce
 
Improving software quality using Continuous Integration
Wouter Konecny
 
Git essentials
Otto Kekäläinen
 
Perforce - Under New Management by Konrad Litwin
Perforce
 
Enforce compliance policy with model-driven automation
Puppet
 
Continuous Integration
Kelli Mohr
 
Test-Driven-Development for Networking: Making CI Work for You by Colin McNam...
DevOps4Networks
 
Continuous Integration at T3CON08
Sebastian Kurfürst
 
Continuous integration and delivery
Danilo Pianini
 
A Reference Architecture to Enable Visibility and Traceability across the Ent...
CollabNet
 
Jenkins Pipeline on your Local Box to Reduce Cycle Time
Luca Milanesio
 
Scania: A DevOps Journey in an Automotive Enterprise  
Perforce
 

Viewers also liked (20)

PPTX
HA410U4powerpoint
Christin Delahay
 
PDF
NL2040 Food Scenario
Blok74
 
PPT
Śniadanie Daje Moc
brandsupportpl
 
DOCX
El maltrato infantil
vanessaguzmanhenao
 
PDF
STRIKE
loveeveryone681
 
PDF
La dulce vida contemplativa 3 dulces de conventos españoles que tienes que pr...
Darío Sosa
 
PPTX
SAP IS Retail Course Overview- free demo
sateeshacutesoft
 
PDF
Click&pay presentation
Kalyan Karteek Sadasivuni
 
PDF
Tfs 2015 Upgrade Tips and Tricks
InCycleSoftware
 
PDF
Talk Bpo Client Proposal August 2014 Australia to The Philippines, $15 USD V...
Talk Bpo (Ireland) Ltd
 
PPTX
My dream house by Agus
Instituto Cultural Argentino Británico
 
PDF
Modul 3-3-tenusu
Adawiyah Hassan
 
PDF
Weighing the Pro's and Con's of Franchising by Neil Burnard
Neil Burnard
 
PDF
How Atlassian's User Research Went Agile (and So Can Yours)
Atlassian
 
PDF
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Atlassian
 
PDF
美团点评技术沙龙07 - 大众点评支付渠道网关系统实践
美团点评技术团队
 
PDF
Retail design
bhavika goyal
 
PDF
How to Design Retail Recommendation Engines with Neo4j
Neo4j
 
PDF
Dr. Devops or: How I Learned to Stop Firefighting and Love the Sprint
Atlassian
 
PDF
Releasing the Monolith On a Daily Basis
Atlassian
 
HA410U4powerpoint
Christin Delahay
 
NL2040 Food Scenario
Blok74
 
Śniadanie Daje Moc
brandsupportpl
 
El maltrato infantil
vanessaguzmanhenao
 
La dulce vida contemplativa 3 dulces de conventos españoles que tienes que pr...
Darío Sosa
 
SAP IS Retail Course Overview- free demo
sateeshacutesoft
 
Click&pay presentation
Kalyan Karteek Sadasivuni
 
Tfs 2015 Upgrade Tips and Tricks
InCycleSoftware
 
Talk Bpo Client Proposal August 2014 Australia to The Philippines, $15 USD V...
Talk Bpo (Ireland) Ltd
 
Modul 3-3-tenusu
Adawiyah Hassan
 
Weighing the Pro's and Con's of Franchising by Neil Burnard
Neil Burnard
 
How Atlassian's User Research Went Agile (and So Can Yours)
Atlassian
 
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Atlassian
 
美团点评技术沙龙07 - 大众点评支付渠道网关系统实践
美团点评技术团队
 
Retail design
bhavika goyal
 
How to Design Retail Recommendation Engines with Neo4j
Neo4j
 
Dr. Devops or: How I Learned to Stop Firefighting and Love the Sprint
Atlassian
 
Releasing the Monolith On a Daily Basis
Atlassian
 
Ad

Similar to Introduction to Git (20)

PPTX
Introduction to Git
Callon Campbell
 
PPTX
Taking your version control to a next level with TFS and Git
Alexander Vanwynsberghe
 
PPTX
Visual Studio and the git workflow
Radu Iscu
 
PPTX
02-version control(DevOps Series)
Mohammed Shaban
 
PPTX
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
PPSX
Git the fast version control system
Jeroen Rosenberg
 
PDF
Gitting better
Ali Servet Donmez
 
PPTX
GIT INTRODUCTION
MohanRaviRohitth
 
PPTX
Git tips and tricks
Chris Ballance
 
PDF
Software Engineering Tools and Practices Learn Git
BeHappy728244
 
PPTX
Lets git to it
Yoram Michaeli
 
PPTX
Getting Started with Git: A Primer for SVN and TFS Users
Noam Kfir
 
PDF
Git Tutorial
Ahmed Taha
 
PPTX
Git.pptx
PalashIMS
 
PPTX
Introduction to git
Ram0603
 
PPTX
Version Control with Git
Sahil Agarwal
 
PDF
Git Learn Version Control With Git A Stepbystep Ultimate Beginners Guide Hutten
wuapulua764
 
PPTX
Git'in on Windows
Stacy Vicknair
 
PPTX
GIT
Binu Paul
 
Introduction to Git
Callon Campbell
 
Taking your version control to a next level with TFS and Git
Alexander Vanwynsberghe
 
Visual Studio and the git workflow
Radu Iscu
 
02-version control(DevOps Series)
Mohammed Shaban
 
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Git the fast version control system
Jeroen Rosenberg
 
Gitting better
Ali Servet Donmez
 
GIT INTRODUCTION
MohanRaviRohitth
 
Git tips and tricks
Chris Ballance
 
Software Engineering Tools and Practices Learn Git
BeHappy728244
 
Lets git to it
Yoram Michaeli
 
Getting Started with Git: A Primer for SVN and TFS Users
Noam Kfir
 
Git Tutorial
Ahmed Taha
 
Git.pptx
PalashIMS
 
Introduction to git
Ram0603
 
Version Control with Git
Sahil Agarwal
 
Git Learn Version Control With Git A Stepbystep Ultimate Beginners Guide Hutten
wuapulua764
 
Git'in on Windows
Stacy Vicknair
 
Ad

More from InCycleSoftware (12)

PDF
Azure DevOps Presentation
InCycleSoftware
 
PDF
TFS 2015 Upgrade Tips & Tricks
InCycleSoftware
 
PDF
Azure Labs QA Testing Webcast
InCycleSoftware
 
PDF
Release Management in TFS 2015
InCycleSoftware
 
PDF
Webcast: TFS 2015 & Why Upgrade
InCycleSoftware
 
PDF
Cloud-based Performance & Web Load Testing
InCycleSoftware
 
PDF
InCycle's DevOps with Azure
InCycleSoftware
 
PDF
Microsoft Development Tools & Platforms for 2015
InCycleSoftware
 
PDF
Hybrid IT With Azure's Cloud Services
InCycleSoftware
 
PDF
Increase Delivery Speed Using Azure
InCycleSoftware
 
PDF
Moving Your Business to Azure
InCycleSoftware
 
PDF
Understanding Azure Networking Services
InCycleSoftware
 
Azure DevOps Presentation
InCycleSoftware
 
TFS 2015 Upgrade Tips & Tricks
InCycleSoftware
 
Azure Labs QA Testing Webcast
InCycleSoftware
 
Release Management in TFS 2015
InCycleSoftware
 
Webcast: TFS 2015 & Why Upgrade
InCycleSoftware
 
Cloud-based Performance & Web Load Testing
InCycleSoftware
 
InCycle's DevOps with Azure
InCycleSoftware
 
Microsoft Development Tools & Platforms for 2015
InCycleSoftware
 
Hybrid IT With Azure's Cloud Services
InCycleSoftware
 
Increase Delivery Speed Using Azure
InCycleSoftware
 
Moving Your Business to Azure
InCycleSoftware
 
Understanding Azure Networking Services
InCycleSoftware
 

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 

Introduction to Git