SlideShare a Scribd company logo
Hiro Yoshioka, Development Unit,!
Rakuten, Inc.!
@hyoshiok!
https://github.com/hyoshiok!
Introduction to 

Git and GitHub 

#git_nyan!
2
Agenda
•  Git
•  GitHub
3
Git?
•  History
– Linus – Linux creator, 2005
– Git
•  Reliable
•  Fast
•  Distributed
•  Content Manager
•  Suitable for large scale development
https://www.youtube.com/watch?v=4XpnKHJAok8
4
Tech Talk: Linus Torvalds on git
https://www.youtube.com/watch?v=4XpnKHJAok8
5
Linux
•  Commits 491K+
•  Contributors 12K+
•  Lines of code 16M+
•  License GPL v2
•  http://www.ohloh.net/p/linux
3/24/2014
•  Requirements from Linux
– Performance and distributed nature
– Security and trust issues
6
Why is distributed VCS better?
•  Distributed vs. Centralized
– Offline/Local
•  Fast
– Isolation
•  Experimental work
•  No committer right
– Reliable: trust and security
•  Not a single point of failure/natural
replication of data
•  Checksum everything (SHA-1 160bit)
7
Art of Git
•  Make separate commits for
logically separate changes.
•  Describe your changes well.
•  Use imperative mood
•  E.g., Fix bug-1234
https://github.com/git/git/blob/master/Documentation/
SubmittingPatches
8
Art of Git
•  Work flow
– GitHub Flow
•  http://guides.github.com/overviews/
flow/
– Create branch
– Add commits
– Open a pull request
– Discuss and review the code
– Merge and deploy
9
GitHub
•  Git hosting site.
https://github.com/
10
GitHub Punch Card
https://github.com/RyuPiT/SharePla/graphs/punch-card
http://www.slideshare.net/hyoshiok/business-application-
development-course-at-aiit
11
GitHub Punch Card
https://github.com/teampuma/Sorejanai/graphs/punch-card
12
Github and Social Coding
•  Fork and Pull Request
– You don’t need a write access
privilege.
•  Collaboration model
13
Most of github hosted projects did
not have any license.
http://www.blackducksoftware.com/resources/infographics/deep-license-data
14
Why do we need OSS license?
•  Collaboration model
•  Ban Free riders
– The Tragedy of the Commons
15
Open source and Bazaar
•  Open source software (OSS)
– software license
•  Bazaar
– Software development model
– global distributed collaborative work
16
How can we choose it?
http://choosealicense.com
17
OSS Community
•  Typical OSS community
–  Charisma, top programmers (e.g., Matsumoto san
(Ruby), Linus Torvalds (Linux))
–  Committers (top notch programmers who have the right
to add/modify the OSS)
–  Contributors (programmers who submit bug fixes, new
proposals, patches)
–  Casual users (report bugs, ask questions, etc)
committers
charisma
contributors
casual users
Matz
Yugui
Linus
Greg K Hartman
http://commons.wikimedia.org/
wiki/File%3AGreg_Kroah-
Hartman_lks08.jpg
18
Hacker Ethics
•  Sharing
•  Openness
•  Decentraization
•  Free access to computers
•  World improvement
•  Levy, Steven. (1984, 2001). Hackers:
Heroes of the Computer Revolution
(updated edition). Penguin.
http://www.gutenberg.org/ebooks/729
19
The Hacker Way (Facebook)
IPO 2012
•  Code wins arguments
•  Continuous Improvement and
Iteration
•  Open and Meritocratic
•  Hackathon
•  Bootcamp
•  http://www.wired.com/business/
2012/02/zuck-letter/
20
•  Be Hacker.
•  Make the world a better place.
21
Advertisement
•  We are hiring.
•  http://corp.rakuten.co.jp/careers/
entry/
•  http://corp.rakuten.co.jp/careers/
engineer/
22
Appendix.
•  Kernel Code Reading Party
•  http://kernel.doorkeeper.jp/
events/9547
– Date: March 28th, FRI
– Time: 19:00 (Door Open), 19:30
(Start), 21:30 (End)
–  https://www.google.com/maps/place/35%C2%B037'17.3%22N
+139%C2%B044'54.7%22E/@35.6214655,139.7485181,15z/data=!
3m1!4b1!4m2!3m1!1s0x0:0x0?hl=en

More Related Content

PPT
Free and Open Source Software technology: General Overview
PPTX
What is git
ODP
The Power of Git
ODP
Be Innovative with Copyright - Introduction to Open Source Business Models
PDF
How To Open Source
PPTX
Davinci git brown_bag
PDF
Session: Git Basics & GitFlow Workflow
PDF
Debian Gnu/Linux - The most important Free Software distrubution?
Free and Open Source Software technology: General Overview
What is git
The Power of Git
Be Innovative with Copyright - Introduction to Open Source Business Models
How To Open Source
Davinci git brown_bag
Session: Git Basics & GitFlow Workflow
Debian Gnu/Linux - The most important Free Software distrubution?

What's hot (14)

ODP
Beginner walkthrough to git and github
ODP
Open Source Softwares
PDF
Running a Project with Github
PDF
Git para novatos
ODP
Open sourcery
PPTX
Creating an IT Portfolio
ODP
Python Pune October Meetup 2015
PDF
Deploying Flask web app using OpenShift
PDF
Brad wood -_whats_a_pull_request
PDF
OSSとの付き合い方。OSSから学んだこと。OSS貢献者賞受賞講演
PDF
OpenZFS Developer Summit Introduction
PDF
F/OSS slidedeck
PDF
The Open Container Initiative (OCI) at 12 months
PDF
Degrees of Freedom
Beginner walkthrough to git and github
Open Source Softwares
Running a Project with Github
Git para novatos
Open sourcery
Creating an IT Portfolio
Python Pune October Meetup 2015
Deploying Flask web app using OpenShift
Brad wood -_whats_a_pull_request
OSSとの付き合い方。OSSから学んだこと。OSS貢献者賞受賞講演
OpenZFS Developer Summit Introduction
F/OSS slidedeck
The Open Container Initiative (OCI) at 12 months
Degrees of Freedom
Ad

Viewers also liked (20)

PDF
1000 speakers conference in English, 2nd, 1/20/2013
PDF
kernel code reading party on March 28th, 2014
PDF
1000 Speakers Conference in English, on December 6th, 2013
PDF
How Changing Mobile Technology Is Changing The Way We Create Economy.
PDF
English Book Club at 1000 Speakers Conference in English, 3rd, on Feb 7th, 2014
PDF
Project Based Learning using by PaaS
PDF
対人関係におけるアルコールの効用
PDF
Tokaido 53 walk
PDF
産業技術大学院大学の2014年度enPiT受講生募集中 #qcontokyo #aiit_enpit
PDF
1000 Speakers Conference in English, 5th on April 11th, 2014 #1000eng
PDF
Internet and Opensource at Security and Programming camp 2011
PDF
Hacker culture at an internet company. 文明塾, 2014/04/23
PDF
Hacker centric culture @devlove 110423
PDF
Anatomy of Lightning Talks at Rakuten Technology Conference 2014, After Confe...
PPTX
20140725 オープンデータ化の価値
PDF
Business Application Development Course at AIIT
PDF
CUI -- How to Analyze History command
PDF
VCS - Version Control System at Security and Programming camp 2011
PDF
the Histrory of LT and ドラ娘
PDF
Code Reading at Security and Programming camp 2011
1000 speakers conference in English, 2nd, 1/20/2013
kernel code reading party on March 28th, 2014
1000 Speakers Conference in English, on December 6th, 2013
How Changing Mobile Technology Is Changing The Way We Create Economy.
English Book Club at 1000 Speakers Conference in English, 3rd, on Feb 7th, 2014
Project Based Learning using by PaaS
対人関係におけるアルコールの効用
Tokaido 53 walk
産業技術大学院大学の2014年度enPiT受講生募集中 #qcontokyo #aiit_enpit
1000 Speakers Conference in English, 5th on April 11th, 2014 #1000eng
Internet and Opensource at Security and Programming camp 2011
Hacker culture at an internet company. 文明塾, 2014/04/23
Hacker centric culture @devlove 110423
Anatomy of Lightning Talks at Rakuten Technology Conference 2014, After Confe...
20140725 オープンデータ化の価値
Business Application Development Course at AIIT
CUI -- How to Analyze History command
VCS - Version Control System at Security and Programming camp 2011
the Histrory of LT and ドラ娘
Code Reading at Security and Programming camp 2011
Ad

Similar to Introduction to Git and GitHub #git_nyan (20)

PDF
Using oss at an internet company and hacker culture
PDF
Using oss at an internet company and hacker culture; Linux Enterprise Users M...
PDF
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
PDF
Let's talk FOSS!
PPT
Open Source & Open Development
PDF
Git SVN Migrate Reasons
PPT
Asf icfoss-mentoring
PDF
A kick-start into Open Source
ODP
Introduction to Git
PDF
Contributing to an Open Source Project 101
PDF
BRG Class Day 1
PDF
LCA14: LCA14-110: FLOSS Training
PDF
GIT pour développeur
PDF
Introduction-to-Git-Github-andWorshop.pdf
PDF
Hitchhikers Guide to Participating in Open Source - Long Version
PPTX
Github 101 An Adventurer's Guide To Open Source
PDF
[Workshop] Building an Integration Agile Digital Enterprise with Open Source ...
PPTX
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
PPTX
Open source and then some: An Introduction
PPTX
Open Source Concepts
Using oss at an internet company and hacker culture
Using oss at an internet company and hacker culture; Linux Enterprise Users M...
Using oss and hacker culture at an internet company at osc/tokyo 2014/03/01
Let's talk FOSS!
Open Source & Open Development
Git SVN Migrate Reasons
Asf icfoss-mentoring
A kick-start into Open Source
Introduction to Git
Contributing to an Open Source Project 101
BRG Class Day 1
LCA14: LCA14-110: FLOSS Training
GIT pour développeur
Introduction-to-Git-Github-andWorshop.pdf
Hitchhikers Guide to Participating in Open Source - Long Version
Github 101 An Adventurer's Guide To Open Source
[Workshop] Building an Integration Agile Digital Enterprise with Open Source ...
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Open source and then some: An Introduction
Open Source Concepts

More from Hiro Yoshioka (20)

PDF
Infra study 2nd #1 人生100年時代の学び方,定年後の大学院生活
PDF
Infra study 2nd #1「インフラ技術者・研究者としてのキャリア」
PDF
不揮発性メモリ(NVM)とはなにか
PDF
続・人生100年時代の学び方
PDF
人生100年時代における学び方 定年後の学生生活
PDF
Thesis introduction "RECIPE : Converting Concurrent DRAM Indexes to Persisten...
PDF
人生100年時代の学び方、脳には可塑性がある
PDF
エンジニア人生と定年退職、人生100年時代のエンジニアの生き方、「私のような仕事につく方法」、2019/06/23 DevLOVE X Day 1 D-7
PDF
エンジニア人生と定年退職、人生100年時代のエンジニアの生き方、デブサミ 2019 【15-A-8】
PDF
未経験プログラマがコボルコンパイラを作った話 #compiler_study
PDF
Godel, Escher, Bach: an Eternal Golden Braid, reading club, Chapter 12
PDF
海外から見た東京 〜人生100年時代の働き方〜 #efsta56
PDF
理科系の作文技術
PDF
Agile Software Development advanced course (PBL) at AIIT, 2015
PDF
質問される力 #TechGirls
PDF
Oracle vs Google API 著作権裁判を考える
PDF
Be Hacker
PDF
IT勉強会 Anatomy of IT Study groups, seminars, conferences in Japan
PDF
OSCON 2014 Trip report #OSCON
PDF
Rakuten Corporate profile
Infra study 2nd #1 人生100年時代の学び方,定年後の大学院生活
Infra study 2nd #1「インフラ技術者・研究者としてのキャリア」
不揮発性メモリ(NVM)とはなにか
続・人生100年時代の学び方
人生100年時代における学び方 定年後の学生生活
Thesis introduction "RECIPE : Converting Concurrent DRAM Indexes to Persisten...
人生100年時代の学び方、脳には可塑性がある
エンジニア人生と定年退職、人生100年時代のエンジニアの生き方、「私のような仕事につく方法」、2019/06/23 DevLOVE X Day 1 D-7
エンジニア人生と定年退職、人生100年時代のエンジニアの生き方、デブサミ 2019 【15-A-8】
未経験プログラマがコボルコンパイラを作った話 #compiler_study
Godel, Escher, Bach: an Eternal Golden Braid, reading club, Chapter 12
海外から見た東京 〜人生100年時代の働き方〜 #efsta56
理科系の作文技術
Agile Software Development advanced course (PBL) at AIIT, 2015
質問される力 #TechGirls
Oracle vs Google API 著作権裁判を考える
Be Hacker
IT勉強会 Anatomy of IT Study groups, seminars, conferences in Japan
OSCON 2014 Trip report #OSCON
Rakuten Corporate profile

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Spectroscopy.pptx food analysis technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Encapsulation theory and applications.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectroscopy.pptx food analysis technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Digital-Transformation-Roadmap-for-Companies.pptx
sap open course for s4hana steps from ECC to s4
NewMind AI Weekly Chronicles - August'25 Week I
Encapsulation theory and applications.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Introduction to Git and GitHub #git_nyan

  • 1. Hiro Yoshioka, Development Unit,! Rakuten, Inc.! @hyoshiok! https://github.com/hyoshiok! Introduction to 
 Git and GitHub 
 #git_nyan!
  • 3. 3 Git? •  History – Linus – Linux creator, 2005 – Git •  Reliable •  Fast •  Distributed •  Content Manager •  Suitable for large scale development https://www.youtube.com/watch?v=4XpnKHJAok8
  • 4. 4 Tech Talk: Linus Torvalds on git https://www.youtube.com/watch?v=4XpnKHJAok8
  • 5. 5 Linux •  Commits 491K+ •  Contributors 12K+ •  Lines of code 16M+ •  License GPL v2 •  http://www.ohloh.net/p/linux 3/24/2014 •  Requirements from Linux – Performance and distributed nature – Security and trust issues
  • 6. 6 Why is distributed VCS better? •  Distributed vs. Centralized – Offline/Local •  Fast – Isolation •  Experimental work •  No committer right – Reliable: trust and security •  Not a single point of failure/natural replication of data •  Checksum everything (SHA-1 160bit)
  • 7. 7 Art of Git •  Make separate commits for logically separate changes. •  Describe your changes well. •  Use imperative mood •  E.g., Fix bug-1234 https://github.com/git/git/blob/master/Documentation/ SubmittingPatches
  • 8. 8 Art of Git •  Work flow – GitHub Flow •  http://guides.github.com/overviews/ flow/ – Create branch – Add commits – Open a pull request – Discuss and review the code – Merge and deploy
  • 9. 9 GitHub •  Git hosting site. https://github.com/
  • 12. 12 Github and Social Coding •  Fork and Pull Request – You don’t need a write access privilege. •  Collaboration model
  • 13. 13 Most of github hosted projects did not have any license. http://www.blackducksoftware.com/resources/infographics/deep-license-data
  • 14. 14 Why do we need OSS license? •  Collaboration model •  Ban Free riders – The Tragedy of the Commons
  • 15. 15 Open source and Bazaar •  Open source software (OSS) – software license •  Bazaar – Software development model – global distributed collaborative work
  • 16. 16 How can we choose it? http://choosealicense.com
  • 17. 17 OSS Community •  Typical OSS community –  Charisma, top programmers (e.g., Matsumoto san (Ruby), Linus Torvalds (Linux)) –  Committers (top notch programmers who have the right to add/modify the OSS) –  Contributors (programmers who submit bug fixes, new proposals, patches) –  Casual users (report bugs, ask questions, etc) committers charisma contributors casual users Matz Yugui Linus Greg K Hartman http://commons.wikimedia.org/ wiki/File%3AGreg_Kroah- Hartman_lks08.jpg
  • 18. 18 Hacker Ethics •  Sharing •  Openness •  Decentraization •  Free access to computers •  World improvement •  Levy, Steven. (1984, 2001). Hackers: Heroes of the Computer Revolution (updated edition). Penguin. http://www.gutenberg.org/ebooks/729
  • 19. 19 The Hacker Way (Facebook) IPO 2012 •  Code wins arguments •  Continuous Improvement and Iteration •  Open and Meritocratic •  Hackathon •  Bootcamp •  http://www.wired.com/business/ 2012/02/zuck-letter/
  • 20. 20 •  Be Hacker. •  Make the world a better place.
  • 21. 21 Advertisement •  We are hiring. •  http://corp.rakuten.co.jp/careers/ entry/ •  http://corp.rakuten.co.jp/careers/ engineer/
  • 22. 22 Appendix. •  Kernel Code Reading Party •  http://kernel.doorkeeper.jp/ events/9547 – Date: March 28th, FRI – Time: 19:00 (Door Open), 19:30 (Start), 21:30 (End) –  https://www.google.com/maps/place/35%C2%B037'17.3%22N +139%C2%B044'54.7%22E/@35.6214655,139.7485181,15z/data=! 3m1!4b1!4m2!3m1!1s0x0:0x0?hl=en