SlideShare a Scribd company logo
Git and GitHub Info Session
Getting started with
git/GitHub
➔ Glimpse of versionless code
➔ Version control and source code management
➔ Git
➔ Usage of git in your daily programming lives.
➔ GitHub
➔ The world of open-source.
➔ Surprise at the end 🤫
Agenda
“Versionless” code
● No track of history
● No staging, production and development phase.
● No backups
What is “version control”, and why
should you care?
Version control is a system that records changes to a file or set
of files over time so that you can recall specific versions later.
For the examples in this book, you will use software source code
as the files being version controlled, though in reality you can do
this with nearly any type of file on a computer.
Types of version control system
Centralized VCS Distributed VCS
Benefits of Using Version Control
● Generate backups
● Test and experiment
● Keep a track of changes
● Collaborate and contribute
Google Developers Student Clubs
What is git?
Git is free and open source software for distributed
version control: tracking changes in any set of files,
usually used for coordinating work among
programmers collaboratively developing source
code during software development.
So, is Git language specific?
Getting started with
→ installation and validation
To configure git in your machine
1. set a name that is identifiable for credit when review
version history
>> git config --global user.name “[firstname lastname]”
2. set an email address that will be associated with each
history marker
>> git config --global user.email “[valid-email]”
‘Init’ing a git repository
● A git repository is just your source code, plus some
additional git files for tracking changes.
● All of your work is done in this place.
● This repository tracks all changes made to files in
your project, building a history over time. Meaning,
if you delete the .git/ folder, then you delete your
project’s history.
Initiating a git repository.
1. Create a project folder.
2. Move into the newly created folder.
3. Initiate a git repository using, git init.
• >> git add
• >> git status
• >> git commit
• >> git log
Gearing up with git basics
Tooling up in git.
• >> git checkout
• >> git revert
• >> git reset
Yet more tooling
Branching in git
Why use branching?
● Using different environments for production,
staging, and development
● Make updates to existing code
GitHub is a website and cloud-based service
that helps developers store and manage their
code, as well as track and control changes to
their code.
What is GitHub?
Git V/S GitHub
Now, let’s set up your GitHub
● Creating your brand-new account
● Creating your first repository
● Walkthrough over access tokens and its need
● Managing your code on GitHub
● Forking a repository
● “git clone”-ing a repository
● Working on new features in your local machine
● Updating the changes on your “local” repository
● Creating your first pull request(PR)
Getting started with collaborations
Why Open-source? And why
should you do it?
● Open source encourages innovation through collaboration.
● It allows customers to know how the code works, facilitating the development
of the most innovative software.
● It allows reuse and recycling of code, making it easier to collaborate and
achieve goals, rather than to recreate the wheel.
Thank You

More Related Content

What's hot (20)

KEY
Git and GitHub
James Gray
 
PDF
Version Control with Git & GitHub
Piet Cordemans
 
PDF
新人Git/Github研修公開用スライド(その1)
pupupopo88
 
PDF
Git hooks
Skills Matter
 
PDF
Pythonとパッケージングと私
Atsushi Odagiri
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
PPTX
Github copilot
ssuser30b5d4
 
PDF
Bitbucket and Git
Mohit Shukla
 
PDF
A Practical Introduction to git
Emanuele Olivetti
 
PPTX
Git 101 for Beginners
Anurag Upadhaya
 
PDF
Git and github 101
Senthilkumar Gopal
 
PPTX
Git Lab Introduction
Krunal Doshi
 
PPTX
Git in 10 minutes
Safique Ahmed Faruque
 
PDF
CI with Gitlab & Docker
Joerg Henning
 
PDF
Git & ブランチモデルで学ぶ バージョン管理入門
kazuki kuriyama
 
PDF
15分でわかるGit入門
to_ueda
 
PDF
Introducing GitLab (September 2018)
Noa Harel
 
PDF
Git는 머꼬? GitHub는 또 머지?
Ian Choi
 
PDF
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
PDF
【社内勉強会】弊社でGit!実案件での運用
Reimi Kuramochi Chiba
 
Git and GitHub
James Gray
 
Version Control with Git & GitHub
Piet Cordemans
 
新人Git/Github研修公開用スライド(その1)
pupupopo88
 
Git hooks
Skills Matter
 
Pythonとパッケージングと私
Atsushi Odagiri
 
Gitlab ci, cncf.sk
Juraj Hantak
 
Github copilot
ssuser30b5d4
 
Bitbucket and Git
Mohit Shukla
 
A Practical Introduction to git
Emanuele Olivetti
 
Git 101 for Beginners
Anurag Upadhaya
 
Git and github 101
Senthilkumar Gopal
 
Git Lab Introduction
Krunal Doshi
 
Git in 10 minutes
Safique Ahmed Faruque
 
CI with Gitlab & Docker
Joerg Henning
 
Git & ブランチモデルで学ぶ バージョン管理入門
kazuki kuriyama
 
15分でわかるGit入門
to_ueda
 
Introducing GitLab (September 2018)
Noa Harel
 
Git는 머꼬? GitHub는 또 머지?
Ian Choi
 
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
【社内勉強会】弊社でGit!実案件での運用
Reimi Kuramochi Chiba
 

Similar to Git and GitHub Info Session (20)

PPTX
GIT & Github introduction for beginners
riteshsingh3651
 
PPTX
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
PPTX
Introduction to git & GitHub
Poornachandrakashi
 
PPTX
git and github-1.pptx
tnscharishma
 
PPTX
Do you git it
Hridyesh Bisht
 
PPTX
Git GitHub jsdbcghsvchjsbcmshg cv ddcsd cjhsbdcjhbdscbc gs cgsvcsbcdbdkjcbsdk...
saurabhpandeychp1
 
PPTX
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
PPTX
git Introduction.pptx
PrakharYadav58
 
PPTX
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
PDF
Version control with Git & GitHub
benko
 
PDF
Rc094 010d-git 2 - desconocido
Luis Bertel
 
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
PDF
GDSC ZHCET GitHub Session.pdf
gdsczhcet
 
PDF
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
PPTX
Introduction to Git and Github
Md Atique Ahmed Ziad
 
PDF
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
PPTX
Introduction to git hub
Naveen Pandey
 
PPTX
Git and Github
Akshay Vasava
 
PDF
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
PDF
Mini git tutorial
Cristian Lucchesi
 
GIT & Github introduction for beginners
riteshsingh3651
 
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
Introduction to git & GitHub
Poornachandrakashi
 
git and github-1.pptx
tnscharishma
 
Do you git it
Hridyesh Bisht
 
Git GitHub jsdbcghsvchjsbcmshg cv ddcsd cjhsbdcjhbdscbc gs cgsvcsbcdbdkjcbsdk...
saurabhpandeychp1
 
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
git Introduction.pptx
PrakharYadav58
 
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Version control with Git & GitHub
benko
 
Rc094 010d-git 2 - desconocido
Luis Bertel
 
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
GDSC ZHCET GitHub Session.pdf
gdsczhcet
 
Git Pocket Guide A Working Introduction 1st Edition Richard E. Silverman
fingonbinka66
 
Introduction to Git and Github
Md Atique Ahmed Ziad
 
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
Introduction to git hub
Naveen Pandey
 
Git and Github
Akshay Vasava
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
Mini git tutorial
Cristian Lucchesi
 
Ad

Recently uploaded (20)

PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Hashing Introduction , hash functions and techniques
sailajam21
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
Design Thinking basics for Engineers.pdf
CMR University
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
Thermal runway and thermal stability.pptx
godow93766
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Ad

Git and GitHub Info Session

  • 3. ➔ Glimpse of versionless code ➔ Version control and source code management ➔ Git ➔ Usage of git in your daily programming lives. ➔ GitHub ➔ The world of open-source. ➔ Surprise at the end 🤫 Agenda
  • 4. “Versionless” code ● No track of history ● No staging, production and development phase. ● No backups
  • 5. What is “version control”, and why should you care? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book, you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.
  • 6. Types of version control system Centralized VCS Distributed VCS
  • 7. Benefits of Using Version Control ● Generate backups ● Test and experiment ● Keep a track of changes ● Collaborate and contribute Google Developers Student Clubs
  • 8. What is git? Git is free and open source software for distributed version control: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.
  • 9. So, is Git language specific?
  • 10. Getting started with → installation and validation
  • 11. To configure git in your machine 1. set a name that is identifiable for credit when review version history >> git config --global user.name “[firstname lastname]” 2. set an email address that will be associated with each history marker >> git config --global user.email “[valid-email]”
  • 12. ‘Init’ing a git repository ● A git repository is just your source code, plus some additional git files for tracking changes. ● All of your work is done in this place. ● This repository tracks all changes made to files in your project, building a history over time. Meaning, if you delete the .git/ folder, then you delete your project’s history.
  • 13. Initiating a git repository. 1. Create a project folder. 2. Move into the newly created folder. 3. Initiate a git repository using, git init.
  • 14. • >> git add • >> git status • >> git commit • >> git log Gearing up with git basics Tooling up in git.
  • 15. • >> git checkout • >> git revert • >> git reset Yet more tooling
  • 17. Why use branching? ● Using different environments for production, staging, and development ● Make updates to existing code
  • 18. GitHub is a website and cloud-based service that helps developers store and manage their code, as well as track and control changes to their code. What is GitHub?
  • 20. Now, let’s set up your GitHub ● Creating your brand-new account ● Creating your first repository ● Walkthrough over access tokens and its need ● Managing your code on GitHub
  • 21. ● Forking a repository ● “git clone”-ing a repository ● Working on new features in your local machine ● Updating the changes on your “local” repository ● Creating your first pull request(PR) Getting started with collaborations
  • 22. Why Open-source? And why should you do it? ● Open source encourages innovation through collaboration. ● It allows customers to know how the code works, facilitating the development of the most innovative software. ● It allows reuse and recycling of code, making it easier to collaborate and achieve goals, rather than to recreate the wheel.