Intro to git and git hub

Intro to Git and
GitHub
Understanding how it all works and
one step closer to the world of open-
source!
2nd July 2021
Jasleen Kaur Ssondhi
What is Git and GitHub?
Understanding GitHub
Workflow
1
2
Today's Agenda
What is Version Control
System?
GitHub Demo
3
4
Let's begin!
Are you ready?
Git!=GitHub
To understand GitHub, we must first have an
understanding of Git.
Git is an open-source version control system that
was started by Linus Torvalds—the same person
who created Linux.
GitHub is a United States-based global company
that provides hosting for software development
and version control using Git.
It is a repository hosting service for Git.
While Git is a command line tool, GitHub provides
a Web-based graphical interface.
5
Competitor A
What's your frequently used Emoji?
Version Control System
•Version control, also known as source control, is the practice
of tracking and managing changes to software code.
•Version control systems are software tools that help
software teams manage changes to source code over time.
•Version control software keeps track of every modification
to the code in a special kind of database. If a mistake is made,
developers can turn back the clock and compare earlier
versions of the code to help fix the mistake while minimizing
disruption to all team members.
•Version control protects source code from both catastrophe
and the casual degradation of human error and unintended
consequences.
Understanding
GitHub Workflow
Your
Brand Competitor A Competitor B Competitor C
Understanding
GitHub Workflow
Your
Brand Competitor A Competitor B Competitor C
Understanding
GitHub Workflow
Your
Brand Competitor A Competitor B Competitor C
git init # Initialize a Repository
git add [file(s)] # To add files into your VCS
git commit –m “[message]“ # Committing Changes to your Files
git status # Checking the Status of your Files
git push # Pushing the Changes into Central Repo
git pull # Pulling in Files and Changes
git clone # Cloning a Repository
git remote add origin # Adding a remote repository
git checkout # Switching / Creating a New Branch
git restore # Restoring the Previous Changes
Some Important Git
Commands
Let's try out a live demo!
Feel free to code along :D
Action 2
Thank you! Have a great
day ahead.
1 von 13

Recomendados

Git basicsGit basics
Git basicsGHARSALLAH Mohamed
1.2K views38 Folien
Git hubGit hub
Git hubNitin Goel
104 views49 Folien
Git training v10Git training v10
Git training v10Skander Hamza
911 views64 Folien

Más contenido relacionado

Was ist angesagt?

Git n git hubGit n git hub
Git n git hubJiwon Baek
524 views22 Folien
Github basicsGithub basics
Github basicsRadoslav Georgiev
16.9K views28 Folien
Git 101Git 101
Git 101Sachet Mittal
551 views14 Folien
Git and githubGit and github
Git and githubSayantika Banik
167 views27 Folien

Was ist angesagt?(20)

Introduction gitIntroduction git
Introduction git
Dian Sigit Prastowo1.3K views
Git n git hubGit n git hub
Git n git hub
Jiwon Baek524 views
Github basicsGithub basics
Github basics
Radoslav Georgiev16.9K views
Git 101Git 101
Git 101
Sachet Mittal551 views
Git and githubGit and github
Git and github
Sayantika Banik167 views
Intro to Git, GitHub, and BitBucketIntro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucket
Legal Services National Technology Assistance Project (LSNTAP)2.4K views
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
Nicolás Tourné10.7K views
Introduction to GitIntroduction to Git
Introduction to Git
Yan Vugenfirer14.4K views
GithubGithub
Github
MeetPatel710753 views
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
Venkat Malladi1.3K views
Git e GitHub - Conceitos BásicosGit e GitHub - Conceitos Básicos
Git e GitHub - Conceitos Básicos
Henrique Silvestre Souza27.8K views
Advanced Git Presentation By SwawibeAdvanced Git Presentation By Swawibe
Advanced Git Presentation By Swawibe
Md Swawibe Ul Alam758 views
Git+githubGit+github
Git+github
Guilherme Lima Pereira592 views
BitBucket presentationBitBucket presentation
BitBucket presentation
Jonathan Lawerh10.3K views
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
Anurag Upadhaya1.5K views
Learning gitLearning git
Learning git
Sid Anand2.4K views
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
Panagiotis Papadopoulos2.7K views
Git for beginnersGit for beginners
Git for beginners
Arulmurugan Rajaraman4.1K views

Similar a Intro to git and git hub

git KT .pptxgit KT .pptx
git KT .pptxsumit583388
68 views30 Folien
Git & GitLabGit & GitLab
Git & GitLabGaurav Wable
852 views34 Folien

Similar a Intro to git and git hub(20)

git KT .pptxgit KT .pptx
git KT .pptx
sumit58338868 views
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey386 views
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team1.9K views
GDSC ZHCET GitHub Session.pdfGDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdf
gdsczhcet58 views
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable852 views
Introduction to Git & GitHubIntroduction to Git & GitHub
Introduction to Git & GitHub
Wasit Shafi19 views
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35239 views
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
tnscharishma132 views
Git hubGit hub
Git hub
Umang Gupta175 views
Git techGit tech
Git tech
Taj Nehme35 views
Git MasteryGit Mastery
Git Mastery
ShehryarSH143 views
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph32 views
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
SawanBhattacharya1.4K views
Git session 1Git session 1
Git session 1
Hassan Khan225 views
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT258 views
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh131 views

Último(20)

Green Leaf Consulting: Capabilities DeckGreen Leaf Consulting: Capabilities Deck
Green Leaf Consulting: Capabilities Deck
GreenLeafConsulting177 views
ThroughputThroughput
Throughput
Moisés Armani Ramírez31 views

Intro to git and git hub

  • 1. Intro to Git and GitHub Understanding how it all works and one step closer to the world of open- source! 2nd July 2021 Jasleen Kaur Ssondhi
  • 2. What is Git and GitHub? Understanding GitHub Workflow 1 2 Today's Agenda What is Version Control System? GitHub Demo 3 4
  • 4. Git!=GitHub To understand GitHub, we must first have an understanding of Git. Git is an open-source version control system that was started by Linus Torvalds—the same person who created Linux. GitHub is a United States-based global company that provides hosting for software development and version control using Git. It is a repository hosting service for Git. While Git is a command line tool, GitHub provides a Web-based graphical interface.
  • 5. 5 Competitor A What's your frequently used Emoji?
  • 6. Version Control System •Version control, also known as source control, is the practice of tracking and managing changes to software code. •Version control systems are software tools that help software teams manage changes to source code over time. •Version control software keeps track of every modification to the code in a special kind of database. If a mistake is made, developers can turn back the clock and compare earlier versions of the code to help fix the mistake while minimizing disruption to all team members. •Version control protects source code from both catastrophe and the casual degradation of human error and unintended consequences.
  • 10. git init # Initialize a Repository git add [file(s)] # To add files into your VCS git commit –m “[message]“ # Committing Changes to your Files git status # Checking the Status of your Files git push # Pushing the Changes into Central Repo git pull # Pulling in Files and Changes git clone # Cloning a Repository git remote add origin # Adding a remote repository git checkout # Switching / Creating a New Branch git restore # Restoring the Previous Changes Some Important Git Commands
  • 11. Let's try out a live demo! Feel free to code along :D
  • 13. Thank you! Have a great day ahead.