SlideShare a Scribd company logo
1 of 38
Download to read offline
$ Git Init
Suvin Nimnaka.
GitHub Campus Expert.
Pages 01
Hi!
I’m Suvin.
GitHub Campus Expert | Software Engineer
University of Colombo School of Computing
Email: hello@suvin.me | Twitter: @tikirimaarie
Pages 02
Pages 03
Version
Controlling
But first, let’s discuss about…
Pages 04
Version
Controlling
Version control is the practice of tracking
and managing changes to software code.
Helps manage changes to source code
over time.
Pages 05
Version Controlling back in the day…
Pages 06
Better
Security
We need a better system that provides…
Pages 07
Clean
History
Open
Source :wink
Collaboration
Faster
speeds
Branching
Scalability
Integrity
Introducing…
Pages 08
Git
/ɡɪt/ or /jɪt/
● Git is a distributed Version Control System.
● Free and open source
● Small footprint
● Allows Collaboration
● Lightning Fast
Pages 09
How git works.
Pages 010
Pull
Push
Push
Push
Pull
Pull
Central
Repository
How git works cont.
Pages 011
Pull
GitHub?
( It’s Capital H people! )
Wait, What is
Pages 012
Pages 013
GitHub
/ɡɪthʌb/ or /jɪthʌb/
● GitHub is a cloud-based service that helps
developers store and manage their code, as
well as track and control changes to their
code.
● Provides a user friendly UI.
● Provides a complete ecosystem for
developers to write and ship code.
Pages 014
Git !== GitHub
Keep in mind that,
Pages 015
Let’s see some
action!
Pages 016
Demo 1
Meet
Avin!
Pages 017
GitHub Campus Expert (Trainee) @ NIBM
Our volunteer for the demos today.
(with permission from his parents ofc 😂)
Branching
With that being said, let’s move onto..
Pages 018
How git branching works
Pages 019
Let’s Branch!
Pages 020
Demo 2
Pull Requests
You saw it!
Pages 021
What is a Pull Request (PR)
Pages 022
A pull request is a request to
merge changes from a
developer's branch into the
main codebase of a project.
Let’s create a
PR
Pages 023
Demo 3
What if you are
using someone
else’s Repo?
Pages 024
Demo 4
That’s all!
Pages 025
RECAP
Can you do a recap of
the Git stuff we
learned so far?
Pages 026
with the help of slides
SWAG!!!
The Basics
Pages 027
Pull
And also…
Pages 028
There’s more…
Pages 029
Now, we build
something!
● We will build a joke collection.
● Goto my demo repository.
● Take a fork
● Clone it to your laptops
● Create a file in you name - avin.txt
● Add a joke (Yes just Google it :D )
● Push it to your fork
● Send a PR
demo5/6
Pages 030
Pages 031
Merge
Conflicts!
What is a merge
conflict?
A merge conflict occurs when there are
conflicting changes made to the same file in
a code repository.
This typically happens when multiple
developers are working on the same file at
the same time, and they make changes that
conflict with each other.
Pages 032
How can I
resolve them?
VS Code has built-in support for merge
conflict resolving.
You can either accept current change,
accept incoming change or accept
both.
Pages 033
JKS!
Questions?
Pages 034
What is GitHub? How
did it start?
Who’s the CEO?
Pages 035
SWAG!!!
Pages 036
GitHub Student Developer Pack
Pages 037
GitHub Community Sri Lanka 󰏶
Pages 038
Thank You
For Being
Awesome!
Email: hello@suvin.me
Twitter: @tikirimaarie
GitHub Community SL Discord:
https://discord.gg/wqf45G5EBv

More Related Content

Similar to Git Init

Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCryptoBitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCryptoOpti Network
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing selfChen-Tien Tsai
 
Making the Business Case for DevOps
Making the Business Case for DevOpsMaking the Business Case for DevOps
Making the Business Case for DevOpsDevOps.com
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfGDSCKNUST
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hubJasleenSondhi
 
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16msohn
 
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...Ambassador Labs
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil AliAmilAli1
 
Using Git to Organize Your Project
Using Git to Organize Your ProjectUsing Git to Organize Your Project
Using Git to Organize Your ProjectManish Suwal 'Enwil'
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git聖文 鄭
 
Meetup gitlab intro in seoul
Meetup gitlab intro in seoulMeetup gitlab intro in seoul
Meetup gitlab intro in seoulGuenjun Yoo
 
Github 101 An Adventurer's Guide To Open Source
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 SourcePrachitibhukan
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GrapesTech Solutions
 

Similar to Git Init (20)

Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCryptoBitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
 
Make the most of twig
Make the most of twigMake the most of twig
Make the most of twig
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
Get Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptxGet Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptx
 
Making the Business Case for DevOps
Making the Business Case for DevOpsMaking the Business Case for DevOps
Making the Business Case for DevOps
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
 
GDSC Git event 2023.pptx
GDSC Git event 2023.pptxGDSC Git event 2023.pptx
GDSC Git event 2023.pptx
 
Git session 1
Git session 1Git session 1
Git session 1
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
 
Git hub
Git hubGit hub
Git hub
 
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
 
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil Ali
 
Using Git to Organize Your Project
Using Git to Organize Your ProjectUsing Git to Organize Your Project
Using Git to Organize Your Project
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
 
Meetup gitlab intro in seoul
Meetup gitlab intro in seoulMeetup gitlab intro in seoul
Meetup gitlab intro in seoul
 
Github 101 An Adventurer's Guide To Open Source
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
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?
 

More from Suvin Nimnaka

Cognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfCognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfSuvin Nimnaka
 
OIDC Authentication with Firebase Identity Platform
OIDC Authentication with Firebase Identity PlatformOIDC Authentication with Firebase Identity Platform
OIDC Authentication with Firebase Identity PlatformSuvin Nimnaka
 
The right way, wrong way and the CLI way by Suvink.pdf
The right way, wrong way and the CLI way by Suvink.pdfThe right way, wrong way and the CLI way by Suvink.pdf
The right way, wrong way and the CLI way by Suvink.pdfSuvin Nimnaka
 
Open Source, open world!
 Open Source, open world! Open Source, open world!
Open Source, open world!Suvin Nimnaka
 
RailTrack - Team Regex Enmo Challenge Pitch.pdf
RailTrack - Team Regex Enmo Challenge Pitch.pdfRailTrack - Team Regex Enmo Challenge Pitch.pdf
RailTrack - Team Regex Enmo Challenge Pitch.pdfSuvin Nimnaka
 
Go codeless with twilio studio.pptx
Go codeless with twilio studio.pptxGo codeless with twilio studio.pptx
Go codeless with twilio studio.pptxSuvin Nimnaka
 
Introduction to Twilio.pptx
Introduction to Twilio.pptxIntroduction to Twilio.pptx
Introduction to Twilio.pptxSuvin Nimnaka
 
Fundamentals of Golang
Fundamentals of GolangFundamentals of Golang
Fundamentals of GolangSuvin Nimnaka
 
WhiteBoard by Alphabet
WhiteBoard by AlphabetWhiteBoard by Alphabet
WhiteBoard by AlphabetSuvin Nimnaka
 

More from Suvin Nimnaka (12)

Cognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfCognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdf
 
OIDC Authentication with Firebase Identity Platform
OIDC Authentication with Firebase Identity PlatformOIDC Authentication with Firebase Identity Platform
OIDC Authentication with Firebase Identity Platform
 
The right way, wrong way and the CLI way by Suvink.pdf
The right way, wrong way and the CLI way by Suvink.pdfThe right way, wrong way and the CLI way by Suvink.pdf
The right way, wrong way and the CLI way by Suvink.pdf
 
Open Source, open world!
 Open Source, open world! Open Source, open world!
Open Source, open world!
 
RailTrack - Team Regex Enmo Challenge Pitch.pdf
RailTrack - Team Regex Enmo Challenge Pitch.pdfRailTrack - Team Regex Enmo Challenge Pitch.pdf
RailTrack - Team Regex Enmo Challenge Pitch.pdf
 
Go codeless with twilio studio.pptx
Go codeless with twilio studio.pptxGo codeless with twilio studio.pptx
Go codeless with twilio studio.pptx
 
Twilio with ReactJS
Twilio with ReactJSTwilio with ReactJS
Twilio with ReactJS
 
Introduction to Twilio.pptx
Introduction to Twilio.pptxIntroduction to Twilio.pptx
Introduction to Twilio.pptx
 
Fundamentals of Golang
Fundamentals of GolangFundamentals of Golang
Fundamentals of Golang
 
Uniacc by G5X
Uniacc by G5XUniacc by G5X
Uniacc by G5X
 
WhiteBoard by Alphabet
WhiteBoard by AlphabetWhiteBoard by Alphabet
WhiteBoard by Alphabet
 
Just google
Just googleJust google
Just google
 

Recently uploaded

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 

Recently uploaded (20)

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 

Git Init