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

What's hot (11)

PPTX
Azure DevOps Overview [Arabic]
ahmadezzeir
 
PDF
Intro to Gitflow
Ben Speakmon
 
PPT
Packing It In: Images, Containers and Config Management
Michael Goetz
 
PPTX
Highly Available, Elastic and Self-healing Moodle on OpenStack
Enovation
 
PDF
Version control
Kornel Lugosi
 
PDF
Version Controlling With Git
Pubudu Suharshan Perera
 
PDF
State of the Art Containerized Nodejs
Ross Kukulinski
 
PDF
Git the easy way
Joe Morgan
 
PPTX
The 7 deadly sins of micro services
Aidan Casey
 
PDF
Git - An Introduction
Krishnamoorthy Arvind
 
PPTX
Monoliths vs microservices
ahmadezzeir
 
Azure DevOps Overview [Arabic]
ahmadezzeir
 
Intro to Gitflow
Ben Speakmon
 
Packing It In: Images, Containers and Config Management
Michael Goetz
 
Highly Available, Elastic and Self-healing Moodle on OpenStack
Enovation
 
Version control
Kornel Lugosi
 
Version Controlling With Git
Pubudu Suharshan Perera
 
State of the Art Containerized Nodejs
Ross Kukulinski
 
Git the easy way
Joe Morgan
 
The 7 deadly sins of micro services
Aidan Casey
 
Git - An Introduction
Krishnamoorthy Arvind
 
Monoliths vs microservices
ahmadezzeir
 

Viewers also liked (20)

PPTX
Installing GravCMS
George Sumpster
 
KEY
Introduction To Git
Arnaud Seilles
 
PPTX
Introduction to Git/Github - A beginner's guide
Rohit Arora
 
PDF
Introduction to git
Randal Schwartz
 
PDF
10 Pragmatic UX techniques for building smarter products:
TO THE NEW | Technology
 
ODP
Introduction to Git (Greg Lonnon)
Boise Web Technologies Group
 
PDF
Introduction to Git
Colin Su
 
PDF
Introduction to Git Basics
Roy Lee
 
PDF
Introduction to Git (part 2)
Salvatore Cordiano
 
PDF
Introduction to Git (part 1)
Salvatore Cordiano
 
PDF
Intro To Git
kyleburton
 
PDF
Yet another introduction to Git - from the bottom up
Wen-Tien Chang
 
PPT
Unix tutorial-08
Tushar Jain
 
PPT
Linux
Mukesh k.r
 
PDF
Corso di HTML5 e CSS
Salvatore Cordiano
 
KEY
Introduction to Git
Lukas Fittl
 
PDF
Say thank you to the Team
Salvatore Cordiano
 
PPTX
Linux processes control and monitoring
alex_schemelev
 
PDF
Git introduction workshop for scientists
Steven Hamblin
 
PPT
Introduction to Git for developers
Dmitry Guyvoronsky
 
Installing GravCMS
George Sumpster
 
Introduction To Git
Arnaud Seilles
 
Introduction to Git/Github - A beginner's guide
Rohit Arora
 
Introduction to git
Randal Schwartz
 
10 Pragmatic UX techniques for building smarter products:
TO THE NEW | Technology
 
Introduction to Git (Greg Lonnon)
Boise Web Technologies Group
 
Introduction to Git
Colin Su
 
Introduction to Git Basics
Roy Lee
 
Introduction to Git (part 2)
Salvatore Cordiano
 
Introduction to Git (part 1)
Salvatore Cordiano
 
Intro To Git
kyleburton
 
Yet another introduction to Git - from the bottom up
Wen-Tien Chang
 
Unix tutorial-08
Tushar Jain
 
Linux
Mukesh k.r
 
Corso di HTML5 e CSS
Salvatore Cordiano
 
Introduction to Git
Lukas Fittl
 
Say thank you to the Team
Salvatore Cordiano
 
Linux processes control and monitoring
alex_schemelev
 
Git introduction workshop for scientists
Steven Hamblin
 
Introduction to Git for developers
Dmitry Guyvoronsky
 
Ad

Similar to Introduction To Git (20)

PPTX
GIT
Binu Paul
 
PDF
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
PPTX
Git walkthrough
Bimal Jain
 
PPTX
Introduction to Git and Github
Max Claus Nunes
 
ODP
Knolx master-slides
Mayank Bairagi
 
PPTX
01 - Git vs SVN
Edward Goikhman
 
PPTX
GIT.pptx
Soumen Debgupta
 
PPTX
Git.pptx
PalashIMS
 
PPTX
Learning Basic GIT Cmd
srinathcox
 
PPTX
Version Control with Git
Sahil Agarwal
 
PDF
Version Control History and Git Basics
Sreedath N S
 
PDF
Git Mastery
ShehryarSH1
 
PPTX
Git and Github
Teodora Ahkozidou
 
PPTX
GIT INTRODUCTION
MohanRaviRohitth
 
PPTX
Presentation on Repository Control System
Md. Mujahid Islam
 
PPTX
Git and github
Teodora Ahkozidou
 
PPT
3 Git
Fabio Fumarola
 
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
Git walkthrough
Bimal Jain
 
Introduction to Git and Github
Max Claus Nunes
 
Knolx master-slides
Mayank Bairagi
 
01 - Git vs SVN
Edward Goikhman
 
GIT.pptx
Soumen Debgupta
 
Git.pptx
PalashIMS
 
Learning Basic GIT Cmd
srinathcox
 
Version Control with Git
Sahil Agarwal
 
Version Control History and Git Basics
Sreedath N S
 
Git Mastery
ShehryarSH1
 
Git and Github
Teodora Ahkozidou
 
GIT INTRODUCTION
MohanRaviRohitth
 
Presentation on Repository Control System
Md. Mujahid Islam
 
Git and github
Teodora Ahkozidou
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Ad

Recently uploaded (20)

PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 

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