SlideShare a Scribd company logo
•INTRO TO GIT
AND GITHUB
Overview
1.Install git and create a Github account
2. What is git?
3. How does git work?
4. What is GitHub?
5. Quick example using git and GitHub
What is version control?
• Distributed version control
• Users keep entire code and
history on their location
machines
• Users can make any changes
without internet access
• (Except pushing and pulling
changes from a remote server)
continued…
• A system that keeps records of
your changes
• Allows for collaborative
development
• Allows you to know who made
what changes and when
• Allows you to revert any changes
and go back to a previous state
• Started in 2005
• Created by Linus Torvald to aid
in Linux kernel development
Git icon
What is git?
• Git isn’t the only version control
system
What is GitHub?
• www.github.com
• Largest web-based git repository
hosting service
• Aka, hosts ‘remote repositories’
• Allows for code collaboration with
anyone online
• Adds extra functionality on top of git
• UI, documentation, bug tracking, feature
requests, pull requests, and more!
Octocat!
How does git work?
• Can be complicated at first, but
there are a few key concepts
• Important git terminology in
following slides are blue
Key Concepts: Repositories
• Often shortened to ‘repo’
• A collection of all the files and
the history of those files
• Consists of all your commits
• Place where all your hard work is
stored
Key Concepts: Commit
• Commits contain three pieces of
information:
1. Information about how the files
changed from previously
2. A reference to the commit that
came before it
• Called the “parent commit”
3. A hash code name
• Will look something like:
fb2d2ec5069fc6776c80b3ad6b7cbde3cade4e
Key Concepts: Pull and Push
• The process of downloading
commits that don’t exist on your
machine from a remote repository
is called pulling changes
• The process of adding your local
changes to the remote repository
is called pushing changes
So, what does a typical
project look like?
• A bunch of commits linked
together that live on some branch,
contained in a repository
So, what does a typical
project look like?
Time going forward
Create Github account
• www.github.com
• Free for public repositories
Creating your first repo-
Git and github
Cloning –
Making some changes -
Changing /adding files and folders
Git commit
Git push
Git log
Key Concepts: Branches
• All commits in git live on some branch
• But there can be many, many branches
• The main branch in a project is called the
master branch
Key Concepts:
Branching off of
the master branch
Time going forward
Branching and checkout
• Official git site and tutorial:
https://git-scm.com/
• GitHub guides:
https://guides.github.com/
• Command cheatsheet:
https://training.github.com/kit/
downloads/github-git-cheat-sheet.pdf
• Interactive git tutorial:
https://try.github.io/levels/1/challenges/1
• Visual/interactive cheatsheet:
http://ndpsoftware.com/git-cheatsheet.html
Additional Resources
THANK YOU

More Related Content

PDF
Introduction to Git and GitHub
KEY
Introduction To Git
PPTX
Git - Basic Crash Course
PPTX
Git One Day Training Notes
PPTX
Git basics to advance with diagrams
PDF
A Practical Introduction to git
PDF
Git training v10
PPTX
Git in 10 minutes
Introduction to Git and GitHub
Introduction To Git
Git - Basic Crash Course
Git One Day Training Notes
Git basics to advance with diagrams
A Practical Introduction to git
Git training v10
Git in 10 minutes

What's hot (20)

ODP
Introduction to Version Control
PPTX
Github
PDF
Git and github 101
PPTX
Git and GitHub
PPTX
Intro to git and git hub
PPTX
Introduction to Git and GitHub Part 1
PPTX
git, 이해부터 활용까지
PDF
Introducing GitLab (September 2018)
PDF
Git basics
PDF
Starting with Git & GitHub
PPTX
Git & GitLab
PPTX
Source control
PDF
Git for beginners
PDF
git and github
PDF
Introduction to Git
PDF
Git - An Introduction
PPTX
PDF
Git 101: Git and GitHub for Beginners
PPTX
Introduction git
PPTX
Git Lab Introduction
Introduction to Version Control
Github
Git and github 101
Git and GitHub
Intro to git and git hub
Introduction to Git and GitHub Part 1
git, 이해부터 활용까지
Introducing GitLab (September 2018)
Git basics
Starting with Git & GitHub
Git & GitLab
Source control
Git for beginners
git and github
Introduction to Git
Git - An Introduction
Git 101: Git and GitHub for Beginners
Introduction git
Git Lab Introduction
Ad

Similar to Git and github (20)

PDF
Gitgithub101slideshare 150922131830-lva1-app6891
PPTX
Git and Github
PPTX
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
PPTX
PDF
O365Con18 - Git and GitHub - Rick van Rousselt
PDF
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
PPT
Git installation and configuration
PPTX
Introduction to git hub
PPTX
Github
PPTX
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
PPT
Introduction to git
PDF
The Basics of Open Source Collaboration With Git and GitHub
PPTX
Quick and easy way to get started with Git & GitHub
PPTX
Bekerja dengan git v2 materi untuk kelas RPL
PPTX
Git hub
PDF
Git for folk who like GUIs
PDF
Fundamentals of Git
PPTX
Git GitHub jsdbcghsvchjsbcmshg cv ddcsd cjhsbdcjhbdscbc gs cgsvcsbcdbdkjcbsdk...
Gitgithub101slideshare 150922131830-lva1-app6891
Git and Github
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
O365Con18 - Git and GitHub - Rick van Rousselt
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Git installation and configuration
Introduction to git hub
Github
Let's Git this Party Started: An Introduction to Git and GitHub
Introduction to git
The Basics of Open Source Collaboration With Git and GitHub
Quick and easy way to get started with Git & GitHub
Bekerja dengan git v2 materi untuk kelas RPL
Git hub
Git for folk who like GUIs
Fundamentals of Git
Git GitHub jsdbcghsvchjsbcmshg cv ddcsd cjhsbdcjhbdscbc gs cgsvcsbcdbdkjcbsdk...
Ad

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
medical staffing services at VALiNTRY
PDF
AI in Product Development-omnex systems
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
ai tools demonstartion for schools and inter college
PPTX
Essential Infomation Tech presentation.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Introduction to Artificial Intelligence
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
top salesforce developer skills in 2025.pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Softaken Excel to vCard Converter Software.pdf
CHAPTER 2 - PM Management and IT Context
medical staffing services at VALiNTRY
AI in Product Development-omnex systems
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Internet Downloader Manager (IDM) Crack 6.42 Build 41
ai tools demonstartion for schools and inter college
Essential Infomation Tech presentation.pptx
Understanding Forklifts - TECH EHS Solution
Which alternative to Crystal Reports is best for small or large businesses.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Introduction to Artificial Intelligence
Odoo POS Development Services by CandidRoot Solutions
How to Migrate SBCGlobal Email to Yahoo Easily
top salesforce developer skills in 2025.pdf
Nekopoi APK 2025 free lastest update
2025 Textile ERP Trends: SAP, Odoo & Oracle
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Git and github

  • 2. Overview 1.Install git and create a Github account 2. What is git? 3. How does git work? 4. What is GitHub? 5. Quick example using git and GitHub
  • 3. What is version control? • Distributed version control • Users keep entire code and history on their location machines • Users can make any changes without internet access • (Except pushing and pulling changes from a remote server)
  • 4. continued… • A system that keeps records of your changes • Allows for collaborative development • Allows you to know who made what changes and when • Allows you to revert any changes and go back to a previous state
  • 5. • Started in 2005 • Created by Linus Torvald to aid in Linux kernel development Git icon What is git?
  • 6. • Git isn’t the only version control system
  • 7. What is GitHub? • www.github.com • Largest web-based git repository hosting service • Aka, hosts ‘remote repositories’ • Allows for code collaboration with anyone online • Adds extra functionality on top of git • UI, documentation, bug tracking, feature requests, pull requests, and more! Octocat!
  • 8. How does git work? • Can be complicated at first, but there are a few key concepts • Important git terminology in following slides are blue
  • 9. Key Concepts: Repositories • Often shortened to ‘repo’ • A collection of all the files and the history of those files • Consists of all your commits • Place where all your hard work is stored
  • 10. Key Concepts: Commit • Commits contain three pieces of information: 1. Information about how the files changed from previously 2. A reference to the commit that came before it • Called the “parent commit” 3. A hash code name • Will look something like: fb2d2ec5069fc6776c80b3ad6b7cbde3cade4e
  • 11. Key Concepts: Pull and Push • The process of downloading commits that don’t exist on your machine from a remote repository is called pulling changes • The process of adding your local changes to the remote repository is called pushing changes
  • 12. So, what does a typical project look like? • A bunch of commits linked together that live on some branch, contained in a repository
  • 13. So, what does a typical project look like? Time going forward
  • 14. Create Github account • www.github.com • Free for public repositories
  • 19. Changing /adding files and folders
  • 23. Key Concepts: Branches • All commits in git live on some branch • But there can be many, many branches • The main branch in a project is called the master branch
  • 24. Key Concepts: Branching off of the master branch Time going forward
  • 26. • Official git site and tutorial: https://git-scm.com/ • GitHub guides: https://guides.github.com/ • Command cheatsheet: https://training.github.com/kit/ downloads/github-git-cheat-sheet.pdf • Interactive git tutorial: https://try.github.io/levels/1/challenges/1 • Visual/interactive cheatsheet: http://ndpsoftware.com/git-cheatsheet.html Additional Resources