SlideShare a Scribd company logo
Introduction to Git
About Me
• Senior at Amador Valley High School
• Developer/Designer at Amador Valley DECA
• Intern at Phala Data
@gsumpsterGeorge Sumpster
Overview
• Version Control Systems
• Git Concepts
• Using Git
• Initial Setup
• Initializing a repository
• Tracking files
• Committing files
• Pushing and Pulling
• Branching Out & Merging
Version Control Systems
A brief introduction and comparison
Centralized
• Centralized Repository
• One Copy on One Server
• CVS, SVN
Centralized vs. Distributed
Distributed
• Distributed Repository
• Every Client has a Copy
• Git, Mercurial
Centralized vs. Distributed
Git Concepts
A quick overview of version control concepts
Committing Changes
Pushing & Pulling
origin/master
push
master
Pushing & Pulling
origin/master
pull
master
Pushing & Pulling
origin/master
pull
master
Branches
Branches

More Related Content

PDF
Learning Git
PDF
Governance beyond ESB
PPTX
PDF
Introduction to Git
PPTX
Source Control Using Git
PPTX
Kudu voodoo slideshare
PPTX
SD PHP Zend Framework
Learning Git
Governance beyond ESB
Introduction to Git
Source Control Using Git
Kudu voodoo slideshare
SD PHP Zend Framework

What's hot (11)

PPTX
Azure DevOps Overview [Arabic]
PDF
Intro to Gitflow
PPT
Packing It In: Images, Containers and Config Management
PPTX
Highly Available, Elastic and Self-healing Moodle on OpenStack
PDF
Version control
PDF
Version Controlling With Git
PDF
State of the Art Containerized Nodejs
PDF
Git the easy way
PPTX
The 7 deadly sins of micro services
PDF
Git - An Introduction
PPTX
Monoliths vs microservices
Azure DevOps Overview [Arabic]
Intro to Gitflow
Packing It In: Images, Containers and Config Management
Highly Available, Elastic and Self-healing Moodle on OpenStack
Version control
Version Controlling With Git
State of the Art Containerized Nodejs
Git the easy way
The 7 deadly sins of micro services
Git - An Introduction
Monoliths vs microservices
Ad

Viewers also liked (20)

PPTX
Installing GravCMS
KEY
Introduction To Git
PPTX
Introduction to Git/Github - A beginner's guide
PDF
Introduction to git
PDF
10 Pragmatic UX techniques for building smarter products:
ODP
Introduction to Git (Greg Lonnon)
PDF
Introduction to Git
PDF
Introduction to Git Basics
PDF
Introduction to Git (part 2)
PDF
Introduction to Git (part 1)
PDF
Intro To Git
PDF
Yet another introduction to Git - from the bottom up
PPT
Unix tutorial-08
PPT
Linux
PDF
Corso di HTML5 e CSS
KEY
Introduction to Git
PDF
Say thank you to the Team
PPTX
Linux processes control and monitoring
PDF
Git introduction workshop for scientists
PPT
Introduction to Git for developers
Installing GravCMS
Introduction To Git
Introduction to Git/Github - A beginner's guide
Introduction to git
10 Pragmatic UX techniques for building smarter products:
Introduction to Git (Greg Lonnon)
Introduction to Git
Introduction to Git Basics
Introduction to Git (part 2)
Introduction to Git (part 1)
Intro To Git
Yet another introduction to Git - from the bottom up
Unix tutorial-08
Linux
Corso di HTML5 e CSS
Introduction to Git
Say thank you to the Team
Linux processes control and monitoring
Git introduction workshop for scientists
Introduction to Git for developers
Ad

Similar to Introduction To Git (20)

PPTX
GIT INTRODUCTION
PDF
Git SVN Migrate Reasons
PPTX
An introduction to Git and GitFlow
PPTX
GIT In Detail
KEY
Version Control Lassosoft 2009 Lasso Developers Conference
PDF
Introduction to Git
PDF
Harvard ABCD-WWW Git presentation
PPT
Introduction to git
PPTX
Software Versioining: A Time Travel Problem in Software Engineering
PPTX
SVN_Version_Control_Presentation (2).pptx
PPTX
Source-it Version-contol & GIT - floating-lesson
PPTX
Git theory
PPTX
Git from SVN
PPTX
Essential git for developers
PPTX
KEY
Make It Cooler: Using Decentralized Version Control
PPTX
Que nos espera a los ALM Dudes para el 2013?
PPTX
Quick and easy way to get started with Git & GitHub
KEY
Bleen architecture
GIT INTRODUCTION
Git SVN Migrate Reasons
An introduction to Git and GitFlow
GIT In Detail
Version Control Lassosoft 2009 Lasso Developers Conference
Introduction to Git
Harvard ABCD-WWW Git presentation
Introduction to git
Software Versioining: A Time Travel Problem in Software Engineering
SVN_Version_Control_Presentation (2).pptx
Source-it Version-contol & GIT - floating-lesson
Git theory
Git from SVN
Essential git for developers
Make It Cooler: Using Decentralized Version Control
Que nos espera a los ALM Dudes para el 2013?
Quick and easy way to get started with Git & GitHub
Bleen architecture

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
top salesforce developer skills in 2025.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
System and Network Administraation Chapter 3
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
ai tools demonstartion for schools and inter college
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Understanding Forklifts - TECH EHS Solution
top salesforce developer skills in 2025.pdf
Softaken Excel to vCard Converter Software.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Upgrade and Innovation Strategies for SAP ERP Customers
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Design an Analysis of Algorithms II-SECS-1021-03
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Design an Analysis of Algorithms I-SECS-1021-03
System and Network Administraation Chapter 3
How to Choose the Right IT Partner for Your Business in Malaysia
ai tools demonstartion for schools and inter college
Odoo POS Development Services by CandidRoot Solutions
2025 Textile ERP Trends: SAP, Odoo & Oracle

Introduction To Git

Editor's Notes

  • #4: Quick overview of what we’re going to be talking about today, explain the rest two topics will be a lecture of concepts & then we will finally actually setup Git and create a repository!
  • #5: So, what is a VCS? Anything that tracks versions, mention file based VCS (final1.psd, finalFORREAL.psd) Why do we use it? Working together, even on the same file. What’s different between versions? The ability to go back in time
  • #6: So, there are two types of VCS, centralized and distributed. We’re going to quickly cover both, here, just to give you a quick understanding of both. Centralized VCS systems, are, as the name suggests, centralized. The entire repository is stored on one central server, and the users pull and push to this server. The clients only have what they pull down, they don’t have access to the history of the repository ect. This is the ‘old’ way of doing things, probably quite rare to find a company that does this today. CVS & SVN are both examples of a centralized VCS, both have been around for a really long time and aren’t commonly used today. That said, Facebook does use SVN with some combination of Git.
  • #7: So, we just looked at a centralized version control systems, let’s move on to what we typically use today. Distributed VCSs. So, where the client in the centralized model only has a partial copy of the repository, the client in the distributed model has a full copy of the repository, the exact copy that the server has. This includes all of the previous code and means that the client has access to all the abilities that the server in the centralized model had access to.
  • #8: OK, so we’re now just going to quickly go through some Git concepts, and just introduce you to what these things mean and how they work together and in what order you ‘use’ these concepts.
  • #9: So, within this section, I’m going to combine tracking files, staging said files and then committing. So, tracking a file means that you’ve marked it as a file that should be included in the version control. Now, there are some files that you don’t want included, compiled files typically shouldn’t be included in the repository, nor should dependencies. There’s a file called .gitignore where you can specify what type of files shouldn’t be included. Anyway, so after you’ve tracked a file, you’ve staged it to be added to the next commit. As part of your process of preparing to commit, you should quickly check what files are staged for commit, and add files that should be on there. OK, now we have all our files ready to go, now we commit. As you will see when we acutally do this later, you’ll include a message in your commit that quickly details what you changed in the commit, so for instance, if you had an issue open called issue 52, and you fixed it in this commit, your commit message could be ‘fixed issue 52’.
  • #10: So, let’s say you’ve done some work on your project and made a few commits and now you’re ready to push your project to, Github for example