Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Version control with Git and Github _ANC
Search
Nnabueze Uhiara
September 28, 2017
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Version control with Git and Github _ANC
Presentation at Android Nigeria Community event
Nnabueze Uhiara
September 28, 2017
More Decks by Nnabueze Uhiara
See All by Nnabueze Uhiara
Version control with Git and Github v1
nezspencer
0
46
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
500
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
A designer walks into a library…
pauljervisheath
211
25k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
910
Odyssey Design
rkendrick25
PRO
2
850
Embracing the Ebb and Flow
colly
88
5.2k
Building the Perfect Custom Keyboard
takai
2
890
Building a Scalable Design System with Sketch
lauravandoore
464
34k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
350
Accessibility Awareness
sabderemane
1
230
Transcript
Version control with Git and Github - Nnabueze Uhiara (software
developer, iQube labs) @_NezSpencer https://github.com/NezSpencer
Main points • What is version control? • Why version
control? • Why Git? • Why github? • Setting up git • Git (proposed) workflow
What is Version control System (VCS)? A system that records
changes to a file or set of files over time so that you can recall specific versions later.
Why Version control? • Collaboration • Synchronization • Knowing what
changed and why it changed(diff, log and commit messages) • Allows undo (reverting to earlier versions) • Backup
VCS contd 2 types of VCS:
Git? • It is a distributed VCS • Enables offline
work • Immunity to explore/try out new things • Large community
Why GitHub? • Large community of fellow devs • Integrates
seamlessly with other dev platforms • Helps to boost your CV • Show your work to the dev world. • Apparently gives you the liberty to use fork indiscriminately not minding what it rhymes with. PS: Git != GitHub
Setting up git on your PC Go to https://git-scm.com/downloads and
follow the instructions there to install git for your OS type
Setting up a new git repo • Git init •
Setup .gitignore • Git add • Git commit -m “commit message” • Git remote add origin https:gitrepo.git • Git push -u origin master
Working with existing git repo Git clone
Common git commands • Clone, • Checkout • Branch •
Merge • Rebase • Commit • Push • pull
Proposed git workflow Working on a new feature? Create a
new branch : git checkout -b <feature-name> OR git branch <feature-name> git checkout <feature-name>
How important is git/version control?
None
Merge conflicts When does a merge conflict occur?/ What causes
a merge conflict? Set up default merge-tool: git mergetool
git commit -m “THANKS FOR LISTENING”