Get Ur Git On: Introduction and getting started with Github

Christine O'Connell
Christine O'ConnellPostdoctoral Researcher at University of California, Berkeley
Get Ur Git On: Introduction and getting started with Github
Version control systems (like Git)
allow you to retain your
science karma (!) over the course
of a project
Goals for today:
•  Understand what
these tools are for
•  Create a repository
(“repo”) online
•  Create a repo from
your desktop
•  Push a commit
•  Fork a repo
•  Push an edit to a
forked repo
•  Done!
The problem that needs solving:
And it doesn’t apply only to code!
What is my PhD
on again????
I WANT COOKIE
DOUGH
Git, a revision control system, lets you:
(1) track the history of changes you’ve made
(2) keeps your work reproducible (even to you!)
(3) helps you keep good documentation
and (4) collaborate without writing over others’ work
https://github.com/karthik/smb_git/commits/master?page=4
Git, a revision control system, lets you:
(1) track the history of changes you’ve made
(2) keeps your work reproducible (even to you!)
(3) helps you keep good documentation
and (4) collaborate without writing over others’ work
https://github.com/karthik/esa_data_viz/graphs/contributors
Links:
•  https://github.com/
•  github.com/coconn
•  Let’s see an example
of where
PastChristine locked it
down for
FutureChristine
https://github.com/coconn/
cso011code_TanguroN2OLosses/
commits/master
Task 1!
•  Log in to your Github profile
•  Click “Repositories”
•  Click “New”
•  Click “Initialize with a README” (best
practice)
•  Repo to make: A storage area for a
personal hero!
•  Click “Clone in desktop”
•  Save your repo wherever you like on
your computer
•  Use google images to download a
rad image
•  Put it in your personal hero folder on
your computer
•  “Commit and sync”
•  Click refresh on your repo online
•  You should see the change!
Turn to your neighbor and take 2
minutes to think of a project at
work you want to use this system
for…
Task 2!
•  Create a new folder on your
computer for that project (OR
find that folder if it exists)
•  Go to your Github program
•  Click “Add a repo” (or “+”,
etc.)
•  Find that folder!
•  Push that folder to Github!
•  Click refresh on your Github
landing page online
•  You should see the new repo!
Task 3! Collaboration!
•  Go to https://github.com/
coconn/Friday-Noon-Seminar-
Git-Github
•  “Fork” my FNS repository
•  “Clone” it to your desktop
•  Make a file that has your best git/
Github pun in it (.txt, .r, .doc, .pdf,
whatever), and push it as a
commit to your fork within the
Task3-Puns folder
•  Click “pull request” (you’re
requesting that I, Christine, “pull”
your edit into the original repo)
•  Done!
Get Ur Git On: Introduction and getting started with Github
Some other slides that I might
use as reference follow…
Collaborating with others
Branches
1 of 15

Recommended

A prentation on github by
A prentation on githubA prentation on github
A prentation on githubVeronica Ojochona Michael (MCP)
234 views21 slides
Introduction to git and Github by
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
125 views22 slides
Intro to Git & GitHub by
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHubGoogleDevelopersStud
254 views33 slides
Github by
GithubGithub
Githubpiyush khadse
1.1K views15 slides
Github by
GithubGithub
GithubMeetPatel710
755 views20 slides
git and github by
git and githubgit and github
git and githubDarren Oakley
13.1K views68 slides

More Related Content

What's hot

Introduction to git and github by
Introduction to git and githubIntroduction to git and github
Introduction to git and githubAderemi Dadepo
4.3K views23 slides
Github Case Study By Amil Ali by
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil AliAmilAli1
476 views14 slides
Git,Github,How to host using Github by
Git,Github,How to host using GithubGit,Github,How to host using Github
Git,Github,How to host using GithubSujata Regoti
410 views22 slides
Intro to Git and GitHub by
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHubUri Goldstein
1.2K views25 slides
GitHub Talk - Cody Carnachan by
GitHub Talk - Cody CarnachanGitHub Talk - Cody Carnachan
GitHub Talk - Cody CarnachanCody Carnachan
659 views35 slides
Github basics by
Github basicsGithub basics
Github basicsRadoslav Georgiev
16.9K views28 slides

What's hot(20)

Introduction to git and github by Aderemi Dadepo
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo4.3K views
Github Case Study By Amil Ali by AmilAli1
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil Ali
AmilAli1476 views
Git,Github,How to host using Github by Sujata Regoti
Git,Github,How to host using GithubGit,Github,How to host using Github
Git,Github,How to host using Github
Sujata Regoti410 views
Intro to Git and GitHub by Uri Goldstein
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
Uri Goldstein1.2K views
GitHub Talk - Cody Carnachan by Cody Carnachan
GitHub Talk - Cody CarnachanGitHub Talk - Cody Carnachan
GitHub Talk - Cody Carnachan
Cody Carnachan659 views
Git, GitHub and Open Source by Lorna Mitchell
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
Lorna Mitchell2.2K views
Contributing to Open Source #Hacktoberfest by Cheah Eng Soon
Contributing to Open Source #HacktoberfestContributing to Open Source #Hacktoberfest
Contributing to Open Source #Hacktoberfest
Cheah Eng Soon171 views
Git and GitHub | Concept about Git and GitHub Process | Git Process overview by Rueful Robin
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Rueful Robin399 views
Introduction to GitHub Actions by Knoldus Inc.
Introduction to GitHub ActionsIntroduction to GitHub Actions
Introduction to GitHub Actions
Knoldus Inc.3.2K views
Github 101 An Adventurer's Guide To Open Source by Prachitibhukan
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan147 views
Git and GitHub by Rick Umali
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali507 views
Beginner's guide to git and github by SahilSonar4
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
SahilSonar4120 views
Inside GitHub by err
Inside GitHubInside GitHub
Inside GitHub
err69.1K views

Viewers also liked

физика и техника by
физика и техникафизика и техника
физика и техникаkalinka-malinka
490 views5 slides
Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu... by
Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...
Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...Christine O'Connell
208 views26 slides
The ecological cost of doing agricultural business by
The ecological cost of doing agricultural businessThe ecological cost of doing agricultural business
The ecological cost of doing agricultural businessChristine O'Connell
585 views68 slides
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific... by
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...Christine O'Connell
356 views28 slides
Tropical forests in a changing world: Investigating global change impacts in ... by
Tropical forests in a changing world: Investigating global change impacts in ...Tropical forests in a changing world: Investigating global change impacts in ...
Tropical forests in a changing world: Investigating global change impacts in ...Christine O'Connell
572 views73 slides
Практика защиты авторских прав на фотографии by
Практика защиты авторских прав на фотографииПрактика защиты авторских прав на фотографии
Практика защиты авторских прав на фотографииСтанислав Солнцев
1.3K views62 slides

Viewers also liked(20)

Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu... by Christine O'Connell
Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...
Balancing Tradeoffs: Reconciling multiple environmental goals in an agricultu...
The ecological cost of doing agricultural business by Christine O'Connell
The ecological cost of doing agricultural businessThe ecological cost of doing agricultural business
The ecological cost of doing agricultural business
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific... by Christine O'Connell
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...
GHG Emissions in Southeastern Amazonia: The Effect of Agricultural Intensific...
Tropical forests in a changing world: Investigating global change impacts in ... by Christine O'Connell
Tropical forests in a changing world: Investigating global change impacts in ...Tropical forests in a changing world: Investigating global change impacts in ...
Tropical forests in a changing world: Investigating global change impacts in ...
Course outline of Project managemnet by Mannay88
Course outline of Project managemnetCourse outline of Project managemnet
Course outline of Project managemnet
Mannay88463 views
Hormondiéta prezentáció by Emporium Ltd.
Hormondiéta prezentációHormondiéta prezentáció
Hormondiéta prezentáció
Emporium Ltd.96.5K views
Proposta pw revisione by Etienne75
Proposta pw revisioneProposta pw revisione
Proposta pw revisione
Etienne75303 views
Articoli 9-12 Costituzione by Etienne75
Articoli 9-12 CostituzioneArticoli 9-12 Costituzione
Articoli 9-12 Costituzione
Etienne751K views
Articoli 5-8 Costituzione by Etienne75
Articoli 5-8 CostituzioneArticoli 5-8 Costituzione
Articoli 5-8 Costituzione
Etienne752.3K views
Alergia a medicamentos by Jocelyne Lara
Alergia a medicamentosAlergia a medicamentos
Alergia a medicamentos
Jocelyne Lara4.6K views
Comtec corporation by GUMengdie
Comtec corporation Comtec corporation
Comtec corporation
GUMengdie565 views

Similar to Get Ur Git On: Introduction and getting started with Github

Untangling fall2017 week2 by
Untangling fall2017 week2Untangling fall2017 week2
Untangling fall2017 week2Derek Jacoby
168 views24 slides
Untangling fall2017 week2_try2 by
Untangling fall2017 week2_try2Untangling fall2017 week2_try2
Untangling fall2017 week2_try2Derek Jacoby
309 views24 slides
Git installation and configuration by
Git installation and configurationGit installation and configuration
Git installation and configurationKishor Kumar
722 views25 slides
Git and Github by
Git and GithubGit and Github
Git and GithubAkshay Vasava
156 views37 slides
Source andassetcontrolingamedev by
Source andassetcontrolingamedevSource andassetcontrolingamedev
Source andassetcontrolingamedevMatt Benic
196 views12 slides
The Basics of Open Source Collaboration With Git and GitHub by
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubBigBlueHat
1K views40 slides

Similar to Get Ur Git On: Introduction and getting started with Github(20)

Untangling fall2017 week2 by Derek Jacoby
Untangling fall2017 week2Untangling fall2017 week2
Untangling fall2017 week2
Derek Jacoby168 views
Untangling fall2017 week2_try2 by Derek Jacoby
Untangling fall2017 week2_try2Untangling fall2017 week2_try2
Untangling fall2017 week2_try2
Derek Jacoby309 views
Git installation and configuration by Kishor Kumar
Git installation and configurationGit installation and configuration
Git installation and configuration
Kishor Kumar722 views
Source andassetcontrolingamedev by Matt Benic
Source andassetcontrolingamedevSource andassetcontrolingamedev
Source andassetcontrolingamedev
Matt Benic196 views
The Basics of Open Source Collaboration With Git and GitHub by BigBlueHat
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
BigBlueHat1K views
Git for folk who like GUIs by Tim Osborn
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIs
Tim Osborn2.3K views
git and github-1.pptx by tnscharishma
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma134 views
Git 101: Git and GitHub for Beginners by HubSpot
Git 101: Git and GitHub for Beginners Git 101: Git and GitHub for Beginners
Git 101: Git and GitHub for Beginners
HubSpot152.6K views
Gitgithub101slideshare 150922131830-lva1-app6891 by Brian Okinyi
Gitgithub101slideshare 150922131830-lva1-app6891Gitgithub101slideshare 150922131830-lva1-app6891
Gitgithub101slideshare 150922131830-lva1-app6891
Brian Okinyi89 views
Git 101 - Crash Course in Version Control using Git by Geoff Hoffman
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using Git
Geoff Hoffman46.1K views
Beginner Workshop for Student Developers - Tratech-presentation.pdf by GDSCKNUST
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST23 views
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1) by Ahmed El-Arabawy
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Ahmed El-Arabawy860 views

Recently uploaded

A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance... by
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...InsideScientific
49 views62 slides
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx by
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxMN
7 views13 slides
journal of engineering and applied science.pdf by
journal of engineering and applied science.pdfjournal of engineering and applied science.pdf
journal of engineering and applied science.pdfKSAravindSrivastava
7 views7 slides
application of genetic engineering 2.pptx by
application of genetic engineering 2.pptxapplication of genetic engineering 2.pptx
application of genetic engineering 2.pptxSankSurezz
9 views12 slides
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ... by
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...ILRI
5 views1 slide
Open Access Publishing in Astrophysics by
Open Access Publishing in AstrophysicsOpen Access Publishing in Astrophysics
Open Access Publishing in AstrophysicsPeter Coles
808 views26 slides

Recently uploaded(20)

A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance... by InsideScientific
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
A Ready-to-Analyze High-Plex Spatial Signature Development Workflow for Cance...
InsideScientific49 views
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx by MN
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptxENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
ENTOMOLOGY PPT ON BOMBYCIDAE AND SATURNIIDAE.pptx
MN7 views
application of genetic engineering 2.pptx by SankSurezz
application of genetic engineering 2.pptxapplication of genetic engineering 2.pptx
application of genetic engineering 2.pptx
SankSurezz9 views
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ... by ILRI
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
Small ruminant keepers’ knowledge, attitudes and practices towards peste des ...
ILRI5 views
Open Access Publishing in Astrophysics by Peter Coles
Open Access Publishing in AstrophysicsOpen Access Publishing in Astrophysics
Open Access Publishing in Astrophysics
Peter Coles808 views
himalay baruah acid fast staining.pptx by HimalayBaruah
himalay baruah acid fast staining.pptxhimalay baruah acid fast staining.pptx
himalay baruah acid fast staining.pptx
HimalayBaruah7 views
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf by KerryNuez1
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdfMODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf
MODULE-9-Biotechnology, Genetically Modified Organisms, and Gene Therapy.pdf
KerryNuez124 views
CSF -SHEEBA.D presentation.pptx by SheebaD7
CSF -SHEEBA.D presentation.pptxCSF -SHEEBA.D presentation.pptx
CSF -SHEEBA.D presentation.pptx
SheebaD711 views
Light Pollution for LVIS students by CWBarthlmew
Light Pollution for LVIS studentsLight Pollution for LVIS students
Light Pollution for LVIS students
CWBarthlmew6 views
Guinea Pig as a Model for Translation Research by PervaizDar1
Guinea Pig as a Model for Translation ResearchGuinea Pig as a Model for Translation Research
Guinea Pig as a Model for Translation Research
PervaizDar111 views
A training, certification and marketing scheme for informal dairy vendors in ... by ILRI
A training, certification and marketing scheme for informal dairy vendors in ...A training, certification and marketing scheme for informal dairy vendors in ...
A training, certification and marketing scheme for informal dairy vendors in ...
ILRI13 views

Get Ur Git On: Introduction and getting started with Github

  • 2. Version control systems (like Git) allow you to retain your science karma (!) over the course of a project
  • 3. Goals for today: •  Understand what these tools are for •  Create a repository (“repo”) online •  Create a repo from your desktop •  Push a commit •  Fork a repo •  Push an edit to a forked repo •  Done!
  • 4. The problem that needs solving:
  • 5. And it doesn’t apply only to code! What is my PhD on again???? I WANT COOKIE DOUGH
  • 6. Git, a revision control system, lets you: (1) track the history of changes you’ve made (2) keeps your work reproducible (even to you!) (3) helps you keep good documentation and (4) collaborate without writing over others’ work https://github.com/karthik/smb_git/commits/master?page=4
  • 7. Git, a revision control system, lets you: (1) track the history of changes you’ve made (2) keeps your work reproducible (even to you!) (3) helps you keep good documentation and (4) collaborate without writing over others’ work https://github.com/karthik/esa_data_viz/graphs/contributors
  • 8. Links: •  https://github.com/ •  github.com/coconn •  Let’s see an example of where PastChristine locked it down for FutureChristine https://github.com/coconn/ cso011code_TanguroN2OLosses/ commits/master
  • 9. Task 1! •  Log in to your Github profile •  Click “Repositories” •  Click “New” •  Click “Initialize with a README” (best practice) •  Repo to make: A storage area for a personal hero! •  Click “Clone in desktop” •  Save your repo wherever you like on your computer •  Use google images to download a rad image •  Put it in your personal hero folder on your computer •  “Commit and sync” •  Click refresh on your repo online •  You should see the change!
  • 10. Turn to your neighbor and take 2 minutes to think of a project at work you want to use this system for… Task 2! •  Create a new folder on your computer for that project (OR find that folder if it exists) •  Go to your Github program •  Click “Add a repo” (or “+”, etc.) •  Find that folder! •  Push that folder to Github! •  Click refresh on your Github landing page online •  You should see the new repo!
  • 11. Task 3! Collaboration! •  Go to https://github.com/ coconn/Friday-Noon-Seminar- Git-Github •  “Fork” my FNS repository •  “Clone” it to your desktop •  Make a file that has your best git/ Github pun in it (.txt, .r, .doc, .pdf, whatever), and push it as a commit to your fork within the Task3-Puns folder •  Click “pull request” (you’re requesting that I, Christine, “pull” your edit into the original repo) •  Done!
  • 13. Some other slides that I might use as reference follow…