SlideShare a Scribd company logo
Code Collaboration
and Submission
Git, GitHub, and Devpost 1
Git, GitHub, and
Devpost
Git, GitHub, and Devpost 2
whoami
Git, GitHub, and Devpost 3
whoami
• Fifth year Software Engineering @ UF
Git, GitHub, and Devpost 4
whoami
• Fifth year Software Engineering @ UF
• Officer of the UF Student InfoSec Team
Git, GitHub, and Devpost 5
whoami
• Fifth year Software Engineering @ UF
• Officer of the UF Student InfoSec Team
• Full stack web developer
Git, GitHub, and Devpost 6
whoami
• Fifth year Software Engineering @
UF
• Officer of the UF Student InfoSec
Team
• Full stack web developer
• Currently web eng lead at Quottly
Git, GitHub, and Devpost 7
whoami
• Fifth year Software Engineering @
UF
• Officer of the UF Student InfoSec
Team
• Full stack web developer
• Currently web eng lead at Quottly
• Former security intern at Tumblr
Git, GitHub, and Devpost 8
whoami
• Fifth year Software Engineering @
UF
• Officer of the UF Student InfoSec
Team
• Full stack web developer
• Currently web eng lead at Quottly
• Former security intern at Tumblr
• Former intern at BlockScore
Git, GitHub, and Devpost 9
whoami
• Fifth year Software Engineering @
UF
• Officer of the UF Student InfoSec
Team
• Full stack web developer
• Currently web eng lead at Quottly
• Former security intern at Tumblr
• Former intern at BlockScore
• Reach me @andrew on Slack
Git, GitHub, and Devpost 10
Git
Git, GitHub, and Devpost 11
At it's core, git is version control
Git, GitHub, and Devpost 12
What is version control?
Git, GitHub, and Devpost 13
Version control tracks changes in
your code
Git, GitHub, and Devpost 14
Git, GitHub, and Devpost 15
Why is this useful?
Git, GitHub, and Devpost 16
Collaboration
Git, GitHub, and Devpost 17
How does this work?
Git, GitHub, and Devpost 18
How does this work?
1. Download code from remote server
Git, GitHub, and Devpost 19
How does this work?
1. Download code from remote server
2. Make your changes
Git, GitHub, and Devpost 20
How does this work?
1. Download code from remote server
2. Make your changes
3. Upload code to remote server
Git, GitHub, and Devpost 21
How does this work?
1. Download code from remote server
2. Make your changes
3. Upload code to remote server
4. Version control figures out what has changed and applies
those changes to the codebase
Git, GitHub, and Devpost 22
Cool, so let's talk about git
Git, GitHub, and Devpost 23
Git Basics
Git, GitHub, and Devpost 24
Open up a terminal!
Git, GitHub, and Devpost 25
1. Make a new directory
Git, GitHub, and Devpost 26
2. git init
Git, GitHub, and Devpost 27
3. git status
Git, GitHub, and Devpost 28
4. Make a file
Git, GitHub, and Devpost 29
5. git status
Git, GitHub, and Devpost 30
6. git add .
Git, GitHub, and Devpost 31
6. git add .
• "staged files" are files that are ready to be committed to git
• "unstaged files" are files that have changes that have not
been prepared to be committed
Git, GitHub, and Devpost 32
can also use git add [filename]
for individual files
Git, GitHub, and Devpost 33
7. git status
Git, GitHub, and Devpost 34
8. git commit -m 'Summary of
changes'
Git, GitHub, and Devpost 35
9. git log
Git, GitHub, and Devpost 36
Any questions?
Git, GitHub, and Devpost 37
Git Branches
Git, GitHub, and Devpost 38
Git Branches
• A "copy" of code that developers can work on
independently of the main code base
Git, GitHub, and Devpost 39
Git Branches
• A "copy" of code that developers can work on
independently of the main code base
• The main code base is normally "master"
• Once the developer is done, can "merge" it back into
master
Git, GitHub, and Devpost 40
git branch [branchname]
Git, GitHub, and Devpost 41
Once we have a new branch, we
follow the git flow
Git, GitHub, and Devpost 42
We have new code on a branch,
how do we merge back?
Git, GitHub, and Devpost 43
git checkout master
Git, GitHub, and Devpost 44
git merge [branchname]
Git, GitHub, and Devpost 45
Using branches allows for
multiple developers to work on
the same code base
Git, GitHub, and Devpost 46
Any questions?
Git, GitHub, and Devpost 47
Git Remotes
Git, GitHub, and Devpost 48
Git Remotes
• A remote server for your git repository!
Git, GitHub, and Devpost 49
Git Remotes
• A remote server for your git repository!
• This is where GitHub comes in...
Git, GitHub, and Devpost 50
GitHub
Git, GitHub, and Devpost 51
Powerful collaboration,
code review, and code
management for
open source and private
projects.
Git, GitHub, and Devpost 52
Helps put a GUI on top of git!
Git, GitHub, and Devpost 53
Sign up for GitHub at github.com
Git, GitHub, and Devpost 54
Once signed up, create a
repository
Git, GitHub, and Devpost 55
Get the remote ssh url
Git, GitHub, and Devpost 56
Back to the command line...
Git, GitHub, and Devpost 57
git remote add origin [url]
Git, GitHub, and Devpost 58
git remote -v
Git, GitHub, and Devpost 59
So, how do we get code on our
remote?
Git, GitHub, and Devpost 60
git push
Git, GitHub, and Devpost 61
Awesome! Now we've got code
on GitHub
Git, GitHub, and Devpost 62
Once a teammate pushes
changes, make sure to use git
pull to download the new
changes
Git, GitHub, and Devpost 63
Any questions?
Git, GitHub, and Devpost 64
GitHub + Devpost
Git, GitHub, and Devpost 65
Git, GitHub, and Devpost 66
Preparing your GitHub repo for
submission
Git, GitHub, and Devpost 67
1. Create a README.md file
Git, GitHub, and Devpost 68
Example: https://github.com/
andrewjkerr/hackathon-mentor-
request-slackbot
Git, GitHub, and Devpost 69
Git, GitHub, and Devpost 70
2. Set the description
Git, GitHub, and Devpost 71
"A slackbot to help
manage mentorship
requests for hackathons
(aka SwampHacks)."
Git, GitHub, and Devpost 72
Anddd that's it! Pretty easy, eh?
Git, GitHub, and Devpost 73
To review
Git, GitHub, and Devpost 74
To review
1. git pull
Git, GitHub, and Devpost 75
To review
1. git pull
2. git checkout -b branch
Git, GitHub, and Devpost 76
To review
1. git pull
2. git checkout -b branch
3. Make changes
Git, GitHub, and Devpost 77
To review
1. git pull
2. git checkout -b branch
3. Make changes
4. git add .
Git, GitHub, and Devpost 78
To review
1. git pull
2. git checkout -b branch
3. Make changes
4. git add .
5. git commit -m 'commit summary'
Git, GitHub, and Devpost 79
To review
1. git pull
2. git checkout -b branch
3. Make changes
4. git add .
5. git commit -m 'commit summary'
6. git checkout master
Git, GitHub, and Devpost 80
To review (continued...)
1. git pull
Git, GitHub, and Devpost 81
To review (continued...)
1. git pull
2. git merge branch
Git, GitHub, and Devpost 82
To review (continued...)
1. git pull
2. git merge branch
3. git push
Git, GitHub, and Devpost 83
To review (continued...)
1. git pull
2. git merge branch
3. git push
4. Do it all again!
Git, GitHub, and Devpost 84
Git and GitHub can help teams
work more efficiently on code
Git, GitHub, and Devpost 85
(And it doesn't hurt that GitHub
works well with Devpost)
Git, GitHub, and Devpost 86
Any questions?
Git, GitHub, and Devpost 87
Slides available at
talk.andrewjkerr.com
Git, GitHub, and Devpost 88

More Related Content

What's hot (19)

PDF
Git and github 101
Senthilkumar Gopal
 
PPTX
Git 101
Sachet Mittal
 
PPT
Introduction to Git Commands and Concepts
Carl Brown
 
PPT
Git101
Jason Noble
 
PDF
Introduction to Git and Github
Houari ZEGAI
 
PPTX
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
PPTX
Git 101 for Beginners
Anurag Upadhaya
 
PPTX
Github
MeetPatel710
 
PPTX
Git basics to advance with diagrams
Dilum Navanjana
 
PPTX
Github basics
Radoslav Georgiev
 
PDF
Git 101: Git and GitHub for Beginners
HubSpot
 
PPTX
Introduction to Git and GitHub Part 1
Omar Fathy
 
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
PPTX
Git and Github
Akshay Vasava
 
PDF
Git and GitHub crash course
Mireia Sangalo
 
PDF
git and github
Darren Oakley
 
PPTX
Git and Github Session
GoogleDevelopersStud1
 
PPTX
Intro to git and git hub
Venkat Malladi
 
PDF
Introduction to GitHub
Nishan Bose
 
Git and github 101
Senthilkumar Gopal
 
Git 101
Sachet Mittal
 
Introduction to Git Commands and Concepts
Carl Brown
 
Git101
Jason Noble
 
Introduction to Git and Github
Houari ZEGAI
 
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
Git 101 for Beginners
Anurag Upadhaya
 
Github
MeetPatel710
 
Git basics to advance with diagrams
Dilum Navanjana
 
Github basics
Radoslav Georgiev
 
Git 101: Git and GitHub for Beginners
HubSpot
 
Introduction to Git and GitHub Part 1
Omar Fathy
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Git and Github
Akshay Vasava
 
Git and GitHub crash course
Mireia Sangalo
 
git and github
Darren Oakley
 
Git and Github Session
GoogleDevelopersStud1
 
Intro to git and git hub
Venkat Malladi
 
Introduction to GitHub
Nishan Bose
 

Similar to Intro to Git, GitHub, and Devpost (20)

PDF
Contributing to github is for everyone
Matt Heusser
 
PDF
Sourcing by Source Code: Find the Code and You Find the Developer
RecruitingDaily.com LLC
 
PPTX
Get your Git on GitHub
Runcy Oommen
 
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Introduction to github slideshare
Rakesh Sukumar
 
PPTX
tech winter break workshop on git &git hub.pptx
ashishraulin
 
PPTX
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Git and GitHub workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Intro. to Git and Github
Olmo F. Maldonado
 
PPTX
3DC Intro to Git Workshop
BeckhamWee
 
PPTX
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
Understanding Github and Version Control System.pptx
AdebisiJoe
 
PPTX
Introduction to git hub
Naveen Pandey
 
PPTX
Get Git with It! A Developer's Workshop.pptx
Google Developer Students Clubs - CTU
 
PPTX
GitHub Event.pptx
KeerthanaJ32
 
PPTX
Git and GitHub (1).pptx
BetelAddisu
 
PPTX
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
PDF
Fork me!
James Ford
 
PDF
Git & GitHub WorkShop
SheilaJimenezMorejon
 
PPTX
Git and github
Sayantika Banik
 
Contributing to github is for everyone
Matt Heusser
 
Sourcing by Source Code: Find the Code and You Find the Developer
RecruitingDaily.com LLC
 
Get your Git on GitHub
Runcy Oommen
 
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
Introduction to github slideshare
Rakesh Sukumar
 
tech winter break workshop on git &git hub.pptx
ashishraulin
 
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
Git and GitHub workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
Intro. to Git and Github
Olmo F. Maldonado
 
3DC Intro to Git Workshop
BeckhamWee
 
Git and GitHub Workshop of GDG on Campus UNSTPB
AmaraCostachiu
 
Understanding Github and Version Control System.pptx
AdebisiJoe
 
Introduction to git hub
Naveen Pandey
 
Get Git with It! A Developer's Workshop.pptx
Google Developer Students Clubs - CTU
 
GitHub Event.pptx
KeerthanaJ32
 
Git and GitHub (1).pptx
BetelAddisu
 
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
Fork me!
James Ford
 
Git & GitHub WorkShop
SheilaJimenezMorejon
 
Git and github
Sayantika Banik
 
Ad

Recently uploaded (20)

PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
Ad

Intro to Git, GitHub, and Devpost