SlideShare a Scribd company logo
You can git
All you need to know about git, GitHub, VSTS, git GUI, etc…
Yu Guan | Microsoft MVP
AGENDA
 history of version(or source) control
 what is git
 git repo providers
 start with GUI
 local vs remote
 git workflow
 some best practices
History of version(or source) control
 In first generation tools, concurrent development was handled solely with locks.
Only one person could be working on a file at a time.
 The second generation tools are a fair bit more permissive about simultaneous
modifications, with one notable restriction. Users must merge the current
revisions into their work before they are allowed to commit.
 The third generation tools allow merge and commit to be separated.
History of version(or source) control
Generation Networking Operations Concurrency Examples
First None One file at a time Locks RCS, SCCS
Second Centralized Multi-file
Merge
before
commit
CVS, SourceSafe,
Subversion,
Team Foundation Server
Third Distributed Changesets
Commit
before
merge
Bazaar,
Git,
Mercurial
what is git
 created by Linus Torvalds in 2005
 distributed version control systems
 on every computer is a full-fledged repository with complete history and full
version tracking abilities
git repo providers
 git != GitHub
Provider
Framework is
open-source?
Support for
other SCM
Open-source
repositories
Space (GB) Free private repositories
GitHub No SVN Yes Unlimited No
GitLab.com Yes No Yes Unlimited
Unlimited projects,
unlimited collaborators
bitbucket.org No Mercurial Yes Unlimited
Unlimited projects,
5 collaborators
Codebase No
Mercurial/SV
N
Public access
available
0.05
1 project (unlimited repos),
2 collaborators
SourceForge.net Yes Hg, SVN Yes Unlimited No
Visual Studio
Team Services
No TFVC No Unlimited Unlimited, 5 users
start with GUI
 Git Extensions
 GitHub Desktop
 Visual Studio 2015/2017
Git Extensions
 https://github.com/gitextensions/gitextensions
Visual Studio 2015/2017
local vs remote
 create and work with local repo
 you don’t need to install any source control server side software
 create and use remote repo
 GitHub
 VSTS
git workflow
 1. Create a branch for the changes you plan to make and give it a name, such as
fix-bug-3214 or cool-feature-x.
 2. Commit changes to your branch. People often have multiple commits for a
bug fix or feature.
 3. Push your branch to the remote repository.
 4. Create a pull request so other people can review your changes. To incorporate
feedback, you might need to make more commits and push more changes.
 5. Complete your pull request and resolve any merge conflicts from changes
other people made after you created your branch.
git workflow
Some best practices
 Branch naming convention
 feature-{alias/dev/qa}-{main}-{detail}
 update-{alias/dev/qa}-{main}-{detail}
 bugfix-{alias/dev/qa}-{main}-{detail}
 hotfix-{alias/dev/qa}-{main}-{detail}
 lab-{alias/dev/qa}-{main}-{detail}
 wip-{alias/dev/qa}-{main}-{detail}
 Pull Request / Code review
THANK YOU!
Q&A

More Related Content

PPTX
PDF
Intro to git and git hub
PDF
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
PPTX
Github 101 An Adventurer's Guide To Open Source
PDF
Git and GitHub
PPTX
PDF
Git strategies for DevOps
PDF
Git and GitGHub Basics
Intro to git and git hub
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Github 101 An Adventurer's Guide To Open Source
Git and GitHub
Git strategies for DevOps
Git and GitGHub Basics

What's hot (20)

PPTX
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
PDF
Git presentation
PDF
Brush up on using github
PPTX
Exploring Git in Visual Studio 2013
PPTX
Github
PDF
GitHub
PDF
git Versioning
PDF
PPTX
Git & github
PPTX
Git basics
PPTX
Hacktoberfest 2021
PDF
Git in 10 minutes (WordCamp London 2018)
PPTX
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
PPTX
Introduction to git and Github
PPTX
Git hub visualstudiocode
PPTX
Github copilot
PPTX
Git hub
PPTX
Open source
ODP
Git Demo
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git presentation
Brush up on using github
Exploring Git in Visual Studio 2013
Github
GitHub
git Versioning
Git & github
Git basics
Hacktoberfest 2021
Git in 10 minutes (WordCamp London 2018)
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
Introduction to git and Github
Git hub visualstudiocode
Github copilot
Git hub
Open source
Git Demo
Ad

Similar to You can git (20)

PPTX
Mini-training: Let’s Git It!
PPTX
Git Lab Introduction
PPTX
Git Training
PDF
Git Tutorial A Comprehensive Guide for Beginners.pdf
PPTX
Introduction to GitHub, Open Source and Tech Article
PPTX
Git essential training & sharing self
PPTX
git Introduction.pptx
PPTX
Github
PPTX
GitHub Event.pptx
PPTX
Introductio to Git and GitHub Session 2 by gdg on campus kab
PPTX
Git & GitLab
PPTX
Git and GitHub.pptx
PPTX
git github PPT_GDSCIIITK.pptx
PPTX
PDF
Git Mastery
PDF
BLUG 2012 Version Control for Notes Developers
PDF
Git Tutorial
PPTX
Version Control with Git and GitHub Tools
PPTX
Git Session 2K23.pptx
PDF
Git_tutorial.pdf
Mini-training: Let’s Git It!
Git Lab Introduction
Git Training
Git Tutorial A Comprehensive Guide for Beginners.pdf
Introduction to GitHub, Open Source and Tech Article
Git essential training & sharing self
git Introduction.pptx
Github
GitHub Event.pptx
Introductio to Git and GitHub Session 2 by gdg on campus kab
Git & GitLab
Git and GitHub.pptx
git github PPT_GDSCIIITK.pptx
Git Mastery
BLUG 2012 Version Control for Notes Developers
Git Tutorial
Version Control with Git and GitHub Tools
Git Session 2K23.pptx
Git_tutorial.pdf
Ad

More from Yu GUAN (11)

PPTX
Canada Chinese Microsoft Tech Club Event 1
PDF
Asp netmvc e03
PPTX
A Journey to Azure
PPTX
Dream career dot NET
PPTX
NuGet package CI and CD
PPTX
Hosting your own NuGet private repository
PPTX
Windows service best practice
PPTX
Wcf best practice
PPTX
Unleash the power of code reuse - creating plugins for Xamarin
PPTX
A Journey To Microsoft Azure E00 Azure 101
PPTX
Welcome to power point
Canada Chinese Microsoft Tech Club Event 1
Asp netmvc e03
A Journey to Azure
Dream career dot NET
NuGet package CI and CD
Hosting your own NuGet private repository
Windows service best practice
Wcf best practice
Unleash the power of code reuse - creating plugins for Xamarin
A Journey To Microsoft Azure E00 Azure 101
Welcome to power point

Recently uploaded (20)

PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
AI in Product Development-omnex systems
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
medical staffing services at VALiNTRY
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Introduction to Artificial Intelligence
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Understanding Forklifts - TECH EHS Solution
Navsoft: AI-Powered Business Solutions & Custom Software Development
Operating system designcfffgfgggggggvggggggggg
2025 Textile ERP Trends: SAP, Odoo & Oracle
wealthsignaloriginal-com-DS-text-... (1).pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Softaken Excel to vCard Converter Software.pdf
AI in Product Development-omnex systems
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
medical staffing services at VALiNTRY
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Which alternative to Crystal Reports is best for small or large businesses.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Introduction to Artificial Intelligence
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
L1 - Introduction to python Backend.pptx
Reimagine Home Health with the Power of Agentic AI​
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Understanding Forklifts - TECH EHS Solution

You can git

  • 1. You can git All you need to know about git, GitHub, VSTS, git GUI, etc… Yu Guan | Microsoft MVP
  • 2. AGENDA  history of version(or source) control  what is git  git repo providers  start with GUI  local vs remote  git workflow  some best practices
  • 3. History of version(or source) control  In first generation tools, concurrent development was handled solely with locks. Only one person could be working on a file at a time.  The second generation tools are a fair bit more permissive about simultaneous modifications, with one notable restriction. Users must merge the current revisions into their work before they are allowed to commit.  The third generation tools allow merge and commit to be separated.
  • 4. History of version(or source) control Generation Networking Operations Concurrency Examples First None One file at a time Locks RCS, SCCS Second Centralized Multi-file Merge before commit CVS, SourceSafe, Subversion, Team Foundation Server Third Distributed Changesets Commit before merge Bazaar, Git, Mercurial
  • 5. what is git  created by Linus Torvalds in 2005  distributed version control systems  on every computer is a full-fledged repository with complete history and full version tracking abilities
  • 6. git repo providers  git != GitHub Provider Framework is open-source? Support for other SCM Open-source repositories Space (GB) Free private repositories GitHub No SVN Yes Unlimited No GitLab.com Yes No Yes Unlimited Unlimited projects, unlimited collaborators bitbucket.org No Mercurial Yes Unlimited Unlimited projects, 5 collaborators Codebase No Mercurial/SV N Public access available 0.05 1 project (unlimited repos), 2 collaborators SourceForge.net Yes Hg, SVN Yes Unlimited No Visual Studio Team Services No TFVC No Unlimited Unlimited, 5 users
  • 7. start with GUI  Git Extensions  GitHub Desktop  Visual Studio 2015/2017
  • 10. local vs remote  create and work with local repo  you don’t need to install any source control server side software  create and use remote repo  GitHub  VSTS
  • 11. git workflow  1. Create a branch for the changes you plan to make and give it a name, such as fix-bug-3214 or cool-feature-x.  2. Commit changes to your branch. People often have multiple commits for a bug fix or feature.  3. Push your branch to the remote repository.  4. Create a pull request so other people can review your changes. To incorporate feedback, you might need to make more commits and push more changes.  5. Complete your pull request and resolve any merge conflicts from changes other people made after you created your branch.
  • 13. Some best practices  Branch naming convention  feature-{alias/dev/qa}-{main}-{detail}  update-{alias/dev/qa}-{main}-{detail}  bugfix-{alias/dev/qa}-{main}-{detail}  hotfix-{alias/dev/qa}-{main}-{detail}  lab-{alias/dev/qa}-{main}-{detail}  wip-{alias/dev/qa}-{main}-{detail}  Pull Request / Code review