SlideShare a Scribd company logo
3
Most read
5
Most read
7
Most read
INTRODUCTION TO GITHUB
Rakesh Sukumar
Agenda
• What is Git & Github ?
• Github Structure
• Important Concepts for Github Users
• Understanding Github workflow
• Setting up Github
• Github Desktop Demo
What is Git & Github ?
Git is an example of version control
Version control is a system that records changes to a file or set of files and helps
us recall specific versions later if needed. E.g. Subversion (SVN), CVS etc
It allows you to :
• Revert files or the whole project to an earlier state
• Compare changes over time
• See who modified what?
• Control modifications by collaborators with the permission of admin/owners
Github is a a repository hosting service for Git
• While Git is a command line tool, GitHub provides a web-based graphical
interface that works on top of GIT. It can also be treated as a social platform
to share knowledge and work.
• It also provides access control and several collaboration features, such as
wikis and basic task management tools
REMOTE
REPOSITORY
Github Structure
Personal user account Organization account
PUBLIC PRIVATE PUBLIC PRIVATE
• Unlimited public repositories
and collaborators on all plans
• Limited Private repositories
• Ability to add unlimited
repository collaborators
• Public repositories are open
to view and copy but not
commit changes.
• Organizations are great for
that need multiple owners &
admins.
• Limited private repositories
(> Personal)
• Team-based access
permissions
• Unlimited owners, admins, &
collaborators using teams
CLONE TO GET LOCAL REPOSITORY
SYNC
Important Concepts for Github Users
Creating a repo
Creating a repository for multiple people to work together
Master in a repository
This is the final version that is considered ready to use by anybody in the team or outside if
repository is public.
Creating a Branch
• Create a branch in your project, for an environment where you can try out new ideas.
• Changes you make on a branch don't affect the master unless pull request is accepted.
• Changes committed to branch reflects for you to keep track of different versions
Adding Commits
• Keeps track of your progress as you work on a branch or master.
• Creates a transparent history that others can follow to understand what you've done
and why.
Forking a repository
• It creates a copy for you to work on independently without any changes to theirs.
• Submit a pull request to owner so that the owner can incorporate changes.
Concepts for Github Users .. Cntd
Pull requests
• Pull Requests initiates discussion about your commits or changes made to a code.
• See exactly what changes would be merged if pull request is accepted.
• Use GitHub's @mention system in your Pull Request message to ask for feedback from
specific people or teams, or for someone to review your work
Issues
• Highlight bugs or issues with codes that need rectification.
• Issues remain open unless resolved.
• Can be filtered, Can be labeled as bug/enancement/ question/help wanted etc
• @mention can be used to notify someone
Markdown syntax
• Markdown is a way to style text on the web.
• Available in descriptions and comments of Issues and Pull Requests. These include
@mentions as well as references to SHA-1 hashes, Issues, and Pull Requests
Watch and Star
Watch notifies us of all conversations over and above your @mentions, commits,
comments on discussion. Star will favorite it but not show on your dashboards like watch
Understanding Github Workflow
Git flow: https://guides.github.com/introduction/flow/
*Deploying the code is
for development projects
Commit
Compare
Sync or Push to branch
Comment on
Pull request
Add Issues/ Resolve Issues
Mention Individuals
Close Pull request
Github Desktop Demo
Link to download Github Desktop : https://desktop.github.com/
RESOURCES
https://help.github.com/
http://guides.github.com
http://www.slideshare.net/nicotourne/starting-with-git-git-hub-27464735?related=1

More Related Content

PPTX
GitHub Presentation
PPTX
PPTX
Github
PDF
Git 101: Git and GitHub for Beginners
PPTX
Github basics
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
PPTX
GitHub Copilot.pptx
PPTX
Intro to git and git hub
GitHub Presentation
Github
Git 101: Git and GitHub for Beginners
Github basics
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
GitHub Copilot.pptx
Intro to git and git hub

What's hot (20)

PPTX
GitHub Basics - Derek Bable
PPTX
Git hub ppt presentation
PPTX
Introduction git
PPTX
Git One Day Training Notes
PDF
Git and github 101
PDF
Introduction to Git and Github
PPTX
Introduction to Git and GitHub Part 1
PPTX
Introduction to Gitlab | Gitlab 101 | Training Session
PDF
Git training v10
PPTX
Git and GitHub
ODP
Introduction to Version Control
PPTX
Git - Basic Crash Course
PDF
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
PDF
Starting with Git & GitHub
PPTX
Git commands
PDF
Git Version Control System
PPTX
PPTX
Git in 10 minutes
PDF
Git real slides
PPTX
GitLab.pptx
GitHub Basics - Derek Bable
Git hub ppt presentation
Introduction git
Git One Day Training Notes
Git and github 101
Introduction to Git and Github
Introduction to Git and GitHub Part 1
Introduction to Gitlab | Gitlab 101 | Training Session
Git training v10
Git and GitHub
Introduction to Version Control
Git - Basic Crash Course
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
Starting with Git & GitHub
Git commands
Git Version Control System
Git in 10 minutes
Git real slides
GitLab.pptx
Ad

Similar to Introduction to github slideshare (20)

PDF
Questions and Answers git and github.pdf
PPTX
Git Session 2K23.pptx
PPTX
Version control git day01
PPTX
Version control git day01
PPTX
Workshop on Git and GitHub
PPTX
Quick and easy way to get started with Git & GitHub
PPT
Introduction to git
PPTX
Version Control System-git status,git add,git commit,git log.pptx
PPTX
GitHub_For_Beginners_Presentationss.pptx
PPTX
Version control git day02
PPTX
Bekerja dengan git v2 materi untuk kelas RPL
PPTX
Mini-training: Let’s Git It!
PPTX
Introduction to git hub
PDF
PR workflow
PPTX
Get Git with It! A Developer's Workshop.pptx
PPTX
Understanding Github and Version Control System.pptx
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
PPTX
Git hub
PPTX
Introductio to Git and GitHub Session 2 by gdg on campus kab
PPTX
Github
Questions and Answers git and github.pdf
Git Session 2K23.pptx
Version control git day01
Version control git day01
Workshop on Git and GitHub
Quick and easy way to get started with Git & GitHub
Introduction to git
Version Control System-git status,git add,git commit,git log.pptx
GitHub_For_Beginners_Presentationss.pptx
Version control git day02
Bekerja dengan git v2 materi untuk kelas RPL
Mini-training: Let’s Git It!
Introduction to git hub
PR workflow
Get Git with It! A Developer's Workshop.pptx
Understanding Github and Version Control System.pptx
Let's Git this Party Started: An Introduction to Git and GitHub
Git hub
Introductio to Git and GitHub Session 2 by gdg on campus kab
Github
Ad

Recently uploaded (20)

PPT
Quality review (1)_presentation of this 21
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PPTX
Computer network topology notes for revision
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
Mega Projects Data Mega Projects Data
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Quality review (1)_presentation of this 21
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Introduction to Knowledge Engineering Part 1
Moving the Public Sector (Government) to a Digital Adoption
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
Computer network topology notes for revision
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
Miokarditis (Inflamasi pada Otot Jantung)
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Mega Projects Data Mega Projects Data
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
.pdf is not working space design for the following data for the following dat...
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb

Introduction to github slideshare

  • 2. Agenda • What is Git & Github ? • Github Structure • Important Concepts for Github Users • Understanding Github workflow • Setting up Github • Github Desktop Demo
  • 3. What is Git & Github ? Git is an example of version control Version control is a system that records changes to a file or set of files and helps us recall specific versions later if needed. E.g. Subversion (SVN), CVS etc It allows you to : • Revert files or the whole project to an earlier state • Compare changes over time • See who modified what? • Control modifications by collaborators with the permission of admin/owners Github is a a repository hosting service for Git • While Git is a command line tool, GitHub provides a web-based graphical interface that works on top of GIT. It can also be treated as a social platform to share knowledge and work. • It also provides access control and several collaboration features, such as wikis and basic task management tools
  • 4. REMOTE REPOSITORY Github Structure Personal user account Organization account PUBLIC PRIVATE PUBLIC PRIVATE • Unlimited public repositories and collaborators on all plans • Limited Private repositories • Ability to add unlimited repository collaborators • Public repositories are open to view and copy but not commit changes. • Organizations are great for that need multiple owners & admins. • Limited private repositories (> Personal) • Team-based access permissions • Unlimited owners, admins, & collaborators using teams CLONE TO GET LOCAL REPOSITORY SYNC
  • 5. Important Concepts for Github Users Creating a repo Creating a repository for multiple people to work together Master in a repository This is the final version that is considered ready to use by anybody in the team or outside if repository is public. Creating a Branch • Create a branch in your project, for an environment where you can try out new ideas. • Changes you make on a branch don't affect the master unless pull request is accepted. • Changes committed to branch reflects for you to keep track of different versions Adding Commits • Keeps track of your progress as you work on a branch or master. • Creates a transparent history that others can follow to understand what you've done and why. Forking a repository • It creates a copy for you to work on independently without any changes to theirs. • Submit a pull request to owner so that the owner can incorporate changes.
  • 6. Concepts for Github Users .. Cntd Pull requests • Pull Requests initiates discussion about your commits or changes made to a code. • See exactly what changes would be merged if pull request is accepted. • Use GitHub's @mention system in your Pull Request message to ask for feedback from specific people or teams, or for someone to review your work Issues • Highlight bugs or issues with codes that need rectification. • Issues remain open unless resolved. • Can be filtered, Can be labeled as bug/enancement/ question/help wanted etc • @mention can be used to notify someone Markdown syntax • Markdown is a way to style text on the web. • Available in descriptions and comments of Issues and Pull Requests. These include @mentions as well as references to SHA-1 hashes, Issues, and Pull Requests Watch and Star Watch notifies us of all conversations over and above your @mentions, commits, comments on discussion. Star will favorite it but not show on your dashboards like watch
  • 7. Understanding Github Workflow Git flow: https://guides.github.com/introduction/flow/ *Deploying the code is for development projects Commit Compare Sync or Push to branch Comment on Pull request Add Issues/ Resolve Issues Mention Individuals Close Pull request
  • 8. Github Desktop Demo Link to download Github Desktop : https://desktop.github.com/

Editor's Notes

  • #5: Exploring a repo: https://training.github.com/kit/modules/COLL-01_Exploring-a-repository.html