SlideShare a Scribd company logo
Using Git
An intro for folk who like GUIs
What is Git?
• Git is a flavour of
  Source Control Management
  (aka revision control, version control)
• It is an open source command line tool
  with many GUIs available
• Created by Linus Torvalds to maintain the
  Linux kernal
Why use Version Control?

• Rollback to working version
• Extra redundant backups
• Keep dependencies updated
• Move towards collaborative coding
• Social proof: an extra point of presence
  (also StackExchange, StudioPress forums)
Setting Up

• Create a repo from
  scratch or by cloning
• Stage files / hunks
• Commit to the repo
The basic Git workflow
• You modify files in your working directory.
• You stage the files, adding snapshots of them
  to your staging area.
• You do a commit, which takes the files as they
  are in the staging area and stores that
  snapshot permanently to your Git directory.
  http://git-scm.com/book/en/Getting-Started-Git-Basics
Underpinnings

• Git = two 'tricks':
 • Commit blob
 • Move pointers
    (HEAD, branch)
• Theory video:
  Git For Ages 4 And Up
Committing

• "…a commit's ID is a SHA-1 hash of
  several pieces of information: the contents
  of the commit, and the IDs of its parent
  commits."
  http://think-like-a-git.net/sections/graphs-and-git/garbage-collection.html
Branch and Merge
• Testing Out Merges
   • The Scout Pattern (merge on a new
        branch)
   • The Save Point (merge on master)
   • "Black Belt" (no branches)
  http://think-like-a-git.net/sections/testing-out-merges.html
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
Terminology
•   Repository / Repo: the .git filesystem which contains the project history and
    settings
•   Staging area / index / cache: files (or 'hunks' of code) which will be committed
•   Working Copy: the directory you're working in, may not be staged or
    committed yet
•   Hash: A checksum which acts as a unique identifier for your commit. Also
    guarantees file integrity.
•   Commit: create a snapshot or restore point, to which you can return in
    future (n: the snapshot itself)
•   Checkout: sync your Working Copy with the selected commit
•   Clone: to download a copy of a repository
•   Branch: an active line of development
•   Head: a reference to the branch you're working on
•   Master: the default development branch
Terminology
•   Merge: to integrate changes from another branch into the
    current
•   Tag: a label which acts like a 'bookmark', generally used for
    tagging release versions.
•   Rebase: funky merge.. think cherry picks & hard reset: Using
    'git cherry-pick' to Simulate 'git rebase'
•   Fork: to make modifications to someone else's project
•   Push: send changes to a remote server
•   Fetch: receive changes from a remote server
•   Pull: Fetch & merge in one operation

    http://www.kernel.org/pub/software/scm/git/docs/gitglossary.html#
Free Tools

• SourceTree by Atlassian
• GitHub for Mac
• 5 Windows Git Clients To ‘Git’ The Job
  Done
Free Services

       • BitBucket
         (free / unlimited private
         repos for 5 users)
       • GitHub
         (free public repos,
         $7/mo 5 private repos)
Wordpress & Git

• The WordPress core team uses SVN
  natively, but syncs to Git every 15 minutes,
  so folk who prefer Git can follow along:

  https://github.com/WordPress/WordPress
Further Reading
• Think Like (a) Git: conversational clarity -
  the simplest read on understanding Git.
• Git Documentation: really clear, easy to
  read, the definitive resource. Free PDF
• CSStricks: Let’s Suck at GitHub Together
• CSStricks: Getting off FTP and onto Git
  Deployment with Beanstalk
memeLab.com.au

More Related Content

PDF
Intro to Gitflow
PPTX
Git theory
PPTX
Git tutorial git branches 20131206-Bryan
PPTX
1 git-overview
PDF
Introducing GitLab (June 2018)
PPTX
BitBucket presentation
PPTX
Git n git hub
PDF
Git and GitHub crash course
Intro to Gitflow
Git theory
Git tutorial git branches 20131206-Bryan
1 git-overview
Introducing GitLab (June 2018)
BitBucket presentation
Git n git hub
Git and GitHub crash course

What's hot (20)

PPTX
Bitbucket
PPTX
Getting Started with Git: A Primer for SVN and TFS Users
PDF
Introduction to GitHub
PDF
Teaching a Designer to Use GitHub
PDF
Intro to Git & GitHub
PPTX
Workshop on Git and GitHub
PPTX
Git and Github Session
PPTX
Git branching strategies
KEY
Git with bitbucket
PDF
Branch to branch by Photis Patriotis
PPTX
Git Lab Introduction
PDF
Git 101: Force-sensitive to Jedi padawan
PPTX
GitLab 8.5 Highlights and Step-by-step tutorial
PPT
Migrating to git
PPTX
PDF
Slide: Introducing GitLab by ALMtoolbox
PPTX
Git basics
PPTX
Gitlab CI/CD
PPT
Git workflows
PPTX
CI/CD with Bitbucket pipelines
Bitbucket
Getting Started with Git: A Primer for SVN and TFS Users
Introduction to GitHub
Teaching a Designer to Use GitHub
Intro to Git & GitHub
Workshop on Git and GitHub
Git and Github Session
Git branching strategies
Git with bitbucket
Branch to branch by Photis Patriotis
Git Lab Introduction
Git 101: Force-sensitive to Jedi padawan
GitLab 8.5 Highlights and Step-by-step tutorial
Migrating to git
Slide: Introducing GitLab by ALMtoolbox
Git basics
Gitlab CI/CD
Git workflows
CI/CD with Bitbucket pipelines
Ad

Similar to Git for folk who like GUIs (20)

PDF
The Basics of Open Source Collaboration With Git and GitHub
PDF
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
PPT
Git installation and configuration
PDF
Git 101: Git and GitHub for Beginners
PPT
CSE 390 Lecture 9 - Version Control with GIT
PPTX
Mini-training: Let’s Git It!
ZIP
Beginner's Guide to Version Control with Git
PPTX
Git Introductive
PPT
Introduction to Git
PPTX
Introduction to git hub
PPTX
Git and Github
PPTX
PPT
Git 101 - Crash Course in Version Control using Git
PPT
Fundamentals and basics of Git and commands
PPT
391Lecture0909 Vision control of git.ppt
PPT
Introduction to git
PPTX
PDF
O365Con18 - Git and GitHub - Rick van Rousselt
PDF
git and github
PPTX
GitHub_For_Beginners_Presentationss.pptx
The Basics of Open Source Collaboration With Git and GitHub
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Git installation and configuration
Git 101: Git and GitHub for Beginners
CSE 390 Lecture 9 - Version Control with GIT
Mini-training: Let’s Git It!
Beginner's Guide to Version Control with Git
Git Introductive
Introduction to Git
Introduction to git hub
Git and Github
Git 101 - Crash Course in Version Control using Git
Fundamentals and basics of Git and commands
391Lecture0909 Vision control of git.ppt
Introduction to git
O365Con18 - Git and GitHub - Rick van Rousselt
git and github
GitHub_For_Beginners_Presentationss.pptx
Ad

Recently uploaded (20)

PPTX
Chemistry.pptxjhghjgghgyughgyghhhvhbhghjbjb
PPTX
CCA文凭办理|加利福尼亚艺术学院毕业证海牙认证网上可查学历文凭
PDF
Methanex Investor Presentation - July 2025
PDF
Collective Mining | Corporate Presentation - August 2025
PDF
Probe Gold Corporate Presentation Aug 2025 Final.pdf
PDF
Cyberagent_For New Investors_EN_250808.pdf
PPTX
HealthIllnessSociety.pptxjjjjjjjjjjjjjjjjj
PDF
TIM Group - Results Presentation H1 '25.pdf
PDF
Update on North Arrow Minerals and the Kraaipan Gold Project, Botswanaf
PDF
Deutsche EuroShop | Company Presentation | 08/25
PDF
OR Royalties Inc. - Q2 2025 Results, August 6, 2025
PPTX
The Future of Philanthropy - AI & Donor Engagement
DOCX
The Future of Investment Advice in a Tokenized World.docx
PDF
North Arrow Minerals Corporate and Kraaipan Project Update
PDF
202507_Sansan presentation materials FY2024
PDF
OR Royalties Inc. - Corporate Presentation, August 2025
PDF
How to Analyze Market Trends in Precious Metal.pdf
PPTX
investment-opportunities-in-rajasthan.pptx
PPTX
TTL1_LMS-Presenfdufgdfgdgduhfudftation.pptx
PDF
Investor Presentation - Q2 FY 25 - 6 November 2024.pdf
Chemistry.pptxjhghjgghgyughgyghhhvhbhghjbjb
CCA文凭办理|加利福尼亚艺术学院毕业证海牙认证网上可查学历文凭
Methanex Investor Presentation - July 2025
Collective Mining | Corporate Presentation - August 2025
Probe Gold Corporate Presentation Aug 2025 Final.pdf
Cyberagent_For New Investors_EN_250808.pdf
HealthIllnessSociety.pptxjjjjjjjjjjjjjjjjj
TIM Group - Results Presentation H1 '25.pdf
Update on North Arrow Minerals and the Kraaipan Gold Project, Botswanaf
Deutsche EuroShop | Company Presentation | 08/25
OR Royalties Inc. - Q2 2025 Results, August 6, 2025
The Future of Philanthropy - AI & Donor Engagement
The Future of Investment Advice in a Tokenized World.docx
North Arrow Minerals Corporate and Kraaipan Project Update
202507_Sansan presentation materials FY2024
OR Royalties Inc. - Corporate Presentation, August 2025
How to Analyze Market Trends in Precious Metal.pdf
investment-opportunities-in-rajasthan.pptx
TTL1_LMS-Presenfdufgdfgdgduhfudftation.pptx
Investor Presentation - Q2 FY 25 - 6 November 2024.pdf

Git for folk who like GUIs

  • 1. Using Git An intro for folk who like GUIs
  • 2. What is Git? • Git is a flavour of Source Control Management (aka revision control, version control) • It is an open source command line tool with many GUIs available • Created by Linus Torvalds to maintain the Linux kernal
  • 3. Why use Version Control? • Rollback to working version • Extra redundant backups • Keep dependencies updated • Move towards collaborative coding • Social proof: an extra point of presence (also StackExchange, StudioPress forums)
  • 4. Setting Up • Create a repo from scratch or by cloning • Stage files / hunks • Commit to the repo
  • 5. The basic Git workflow • You modify files in your working directory. • You stage the files, adding snapshots of them to your staging area. • You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory. http://git-scm.com/book/en/Getting-Started-Git-Basics
  • 6. Underpinnings • Git = two 'tricks': • Commit blob • Move pointers (HEAD, branch) • Theory video: Git For Ages 4 And Up
  • 7. Committing • "…a commit's ID is a SHA-1 hash of several pieces of information: the contents of the commit, and the IDs of its parent commits." http://think-like-a-git.net/sections/graphs-and-git/garbage-collection.html
  • 8. Branch and Merge • Testing Out Merges • The Scout Pattern (merge on a new branch) • The Save Point (merge on master) • "Black Belt" (no branches) http://think-like-a-git.net/sections/testing-out-merges.html
  • 12. Terminology • Repository / Repo: the .git filesystem which contains the project history and settings • Staging area / index / cache: files (or 'hunks' of code) which will be committed • Working Copy: the directory you're working in, may not be staged or committed yet • Hash: A checksum which acts as a unique identifier for your commit. Also guarantees file integrity. • Commit: create a snapshot or restore point, to which you can return in future (n: the snapshot itself) • Checkout: sync your Working Copy with the selected commit • Clone: to download a copy of a repository • Branch: an active line of development • Head: a reference to the branch you're working on • Master: the default development branch
  • 13. Terminology • Merge: to integrate changes from another branch into the current • Tag: a label which acts like a 'bookmark', generally used for tagging release versions. • Rebase: funky merge.. think cherry picks & hard reset: Using 'git cherry-pick' to Simulate 'git rebase' • Fork: to make modifications to someone else's project • Push: send changes to a remote server • Fetch: receive changes from a remote server • Pull: Fetch & merge in one operation http://www.kernel.org/pub/software/scm/git/docs/gitglossary.html#
  • 14. Free Tools • SourceTree by Atlassian • GitHub for Mac • 5 Windows Git Clients To ‘Git’ The Job Done
  • 15. Free Services • BitBucket (free / unlimited private repos for 5 users) • GitHub (free public repos, $7/mo 5 private repos)
  • 16. Wordpress & Git • The WordPress core team uses SVN natively, but syncs to Git every 15 minutes, so folk who prefer Git can follow along: https://github.com/WordPress/WordPress
  • 17. Further Reading • Think Like (a) Git: conversational clarity - the simplest read on understanding Git. • Git Documentation: really clear, easy to read, the definitive resource. Free PDF • CSStricks: Let’s Suck at GitHub Together • CSStricks: Getting off FTP and onto Git Deployment with Beanstalk