SlideShare a Scribd company logo
1 of 15
Intro to Git & Github
Aditya Agarwal
Apoorv Aadarsh
Soumya Ranjan Mohapatro
Ground Rules
Be Present
Be Curious
Share Aloud
Engagement
Respect Each Other
Stay present and engaged
throughout this session
Adapt a growth mindset to
expand your perspective and
keep an open mind.
Use the chat window and share
thoughts and seek answers.
Be mindful of your surroundings,
actively listen and apply what
you learn in the interactive
activities and discussions.
With diverse opinions coming in
respect each other’s thoughts
We have a ZERO TOLERANCE POLICY for in-person or online harassment of any kind, including but not limited to:
Community Guidelines
In relation to, but not limited to:
● Neurodiversity
● Race
● Color
● National origin
● Gender identity
● Gender expression
● Sexual orientation
● Age
● Body size
● Disabilities
● Appearance
● Religion
● Pregnancy
● Military status
● Social demographic
● Stalking/following
● Deliberate intimidation
● Harassing photography or recording
● Sustained disruption of talks or other events
● Offensive verbal language
● Verbal language that
reinforces social structures of
domination
● Sexual imagery and language
in public spaces
● Inappropriate physical contact
● Unwelcome sexual or physical
attention
● Physical or cyber threats
Command Line Interface and Bourne-Again Shell
A CLI is a command line interface where the users type in text commands to interact
with the program underlying the interface.
The most important aspect of any CLI is it can be easily automated using scripting in
some programming languages that it supports.
Bash or Bourne-again Shell, is the newer version of the Bourne UNIX shell, and is
found in most of Linux based operating systems. It is the default login shell. You can
find it even on certain versions of Windows ( WSL, ;) ).
Your basic Windows Command Prompt is a perfect CLI, but once you get the taste of
bash, there’s no going back, especially if you are interested in DevOps, Scripting and
Automation.
CLI and Introduction to Bash
On Windows
Windows Command Prompt (after adding the environment variable)
Hyper Terminal ( Open Source CLI )
Visual Studio Code Terminal ( Ctrl + ` )
Various Ways to Use Bash or any CLI
What is GIT
Git is a software for tracking changes in any set of files,
usually used for coordinating work among
programmers collaboratively developing source code
during software development.
Version Control System (VCS)
How to install GIT on
your local system ?
For git
● Initialize a repository
● Make changes
● Add .gitignore file
● Stage the changes
● Commit the changes
● Create a branch (if required)
Workflow
git init → Init git repository
git status → Check git status
git log → Check git log ( history of previous
commit )
git add . → Stage all the changes
git add <file_name> → Stage a particular file
git commit -m “commit message” → Commit staged changes
Branching in git
Create a branch :
git branch <branch_name>
Checkout to a branch :
git checkout <branch_name>
Checkout and create a new branch at same time :
git checkout -b <branch_name>
Merge 2 branches :
1. Checkout to the branch in which to merge
2.git merge <branch_name>
Rebase branch :
git rebase <branch_name>
What is Github
GitHub is a web-based Git version
control repository hosting service. It
provides all of the distributed version
control and source code
management (SCM) functionalities of
Git.​
To work in Github
● Fork the repository
● Clone the forked repository
● Create a branch in your local repository
● Make changes to the local repository in your branch
● Stage & Commit those changes
● Push the changes to Github repository
● Create a Pull Request (PR) to the main repository
Workflow
Some important additional commands
Push Changes to Github :
git push origin <branch_name>
Pull recent changes from Github :
git pull origin <branch_name>
Clone a repository from Github :
git clone <link_of_github_repo>
Commit with old commit message and old commit hash :
git commit --amend --no-edit
Can’t remember? Don’t remember.
GitHub Desktop is a GUI interface for Git programs, and can easily do all the
work you can do with a git shell, but without the need of remembering the
commands.
Just install, login. You’ll be able to see all the commands in there.
It is essentially the Windows XP to the MS DOS, in the way that, you can do
the same stuff in both, but you don’t need to remember 100 lines of code to
just switch from one folder to another and just click and finish the job.
An Easier way to Git : GitHub Desktop

More Related Content

What's hot

Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
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
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshareRakesh Sukumar
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHubRick Umali
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and githubAderemi Dadepo
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productiveKarsten Dambekalns
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open SourceLorna Mitchell
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Omar Fathy
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Simplilearn
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucketMedhat Dawoud
 

What's hot (20)

Github
GithubGithub
Github
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
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
 
A prentation on github
A prentation on githubA prentation on github
A prentation on github
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
 
GitHub
GitHubGitHub
GitHub
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
 
Github
GithubGithub
Github
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Git and Github Session
Git and Github SessionGit and Github Session
Git and Github Session
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
 
Github basics
Github basicsGithub basics
Github basics
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
 

Similar to Intro to Git & GitHub

Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hubJasleenSondhi
 
You can git
You can gitYou can git
You can gitYu GUAN
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfuzair
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GITGhadiAlGhosh
 
What's a Pull Request (Contributing to Open Source) - Brad Wood
What's a Pull Request (Contributing to Open Source) - Brad WoodWhat's a Pull Request (Contributing to Open Source) - Brad Wood
What's a Pull Request (Contributing to Open Source) - Brad WoodOrtus Solutions, Corp
 
Overview of Gitlab usage
Overview of Gitlab usageOverview of Gitlab usage
Overview of Gitlab usageOluDouglas
 
How to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopHow to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopPavitraBhagat
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptxaymanessam16
 
GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018Pooja Shah
 
Intro to Git for Project Managers
Intro to Git for Project ManagersIntro to Git for Project Managers
Intro to Git for Project ManagersOyeLabs
 
GDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdfGDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdfgdsczhcet
 

Similar to Intro to Git & GitHub (20)

Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
git KT .pptx
git KT .pptxgit KT .pptx
git KT .pptx
 
You can git
You can gitYou can git
You can git
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
 
git & github.pdf
git & github.pdfgit & github.pdf
git & github.pdf
 
Git Demo
Git DemoGit Demo
Git Demo
 
Hacktoberfest 2022
Hacktoberfest 2022Hacktoberfest 2022
Hacktoberfest 2022
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
What's a Pull Request (Contributing to Open Source) - Brad Wood
What's a Pull Request (Contributing to Open Source) - Brad WoodWhat's a Pull Request (Contributing to Open Source) - Brad Wood
What's a Pull Request (Contributing to Open Source) - Brad Wood
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Open source
Open sourceOpen source
Open source
 
Overview of Gitlab usage
Overview of Gitlab usageOverview of Gitlab usage
Overview of Gitlab usage
 
How to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopHow to Git and Github | Hands on workshop
How to Git and Github | Hands on workshop
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptx
 
Intro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucketIntro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucket
 
GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018
 
Intro to Git for Project Managers
Intro to Git for Project ManagersIntro to Git for Project Managers
Intro to Git for Project Managers
 
GDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdfGDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdf
 
Gitting better
Gitting betterGitting better
Gitting better
 

More from Google Developer Students Club NIT Silchar (10)

Switch to Svelte | GDSC NIT Silchar | Speaker Session | SvelteKit
Switch to Svelte | GDSC NIT Silchar | Speaker Session | SvelteKitSwitch to Svelte | GDSC NIT Silchar | Speaker Session | SvelteKit
Switch to Svelte | GDSC NIT Silchar | Speaker Session | SvelteKit
 
Switch to Backend 2023
Switch to Backend 2023Switch to Backend 2023
Switch to Backend 2023
 
Switch to Backend 2023 | Day 2 Part 1
Switch to Backend 2023 | Day 2 Part 1Switch to Backend 2023 | Day 2 Part 1
Switch to Backend 2023 | Day 2 Part 1
 
Switch to Backend 2023 | Day 1 Part 2
Switch to Backend 2023 | Day 1 Part 2Switch to Backend 2023 | Day 1 Part 2
Switch to Backend 2023 | Day 1 Part 2
 
Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1
 
Flutter Festival - Intro Session
Flutter Festival - Intro SessionFlutter Festival - Intro Session
Flutter Festival - Intro Session
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Roadmap to Development
 
Android Study Jams - Info Session
Android Study Jams - Info SessionAndroid Study Jams - Info Session
Android Study Jams - Info Session
 
30 days of cloud: Info session
30 days of cloud: Info session30 days of cloud: Info session
30 days of cloud: Info session
 
Flutter Bootcamp
Flutter BootcampFlutter Bootcamp
Flutter Bootcamp
 

Recently uploaded

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 

Recently uploaded (20)

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 

Intro to Git & GitHub

  • 1. Intro to Git & Github Aditya Agarwal Apoorv Aadarsh Soumya Ranjan Mohapatro
  • 2. Ground Rules Be Present Be Curious Share Aloud Engagement Respect Each Other Stay present and engaged throughout this session Adapt a growth mindset to expand your perspective and keep an open mind. Use the chat window and share thoughts and seek answers. Be mindful of your surroundings, actively listen and apply what you learn in the interactive activities and discussions. With diverse opinions coming in respect each other’s thoughts
  • 3. We have a ZERO TOLERANCE POLICY for in-person or online harassment of any kind, including but not limited to: Community Guidelines In relation to, but not limited to: ● Neurodiversity ● Race ● Color ● National origin ● Gender identity ● Gender expression ● Sexual orientation ● Age ● Body size ● Disabilities ● Appearance ● Religion ● Pregnancy ● Military status ● Social demographic ● Stalking/following ● Deliberate intimidation ● Harassing photography or recording ● Sustained disruption of talks or other events ● Offensive verbal language ● Verbal language that reinforces social structures of domination ● Sexual imagery and language in public spaces ● Inappropriate physical contact ● Unwelcome sexual or physical attention ● Physical or cyber threats
  • 4. Command Line Interface and Bourne-Again Shell A CLI is a command line interface where the users type in text commands to interact with the program underlying the interface. The most important aspect of any CLI is it can be easily automated using scripting in some programming languages that it supports. Bash or Bourne-again Shell, is the newer version of the Bourne UNIX shell, and is found in most of Linux based operating systems. It is the default login shell. You can find it even on certain versions of Windows ( WSL, ;) ). Your basic Windows Command Prompt is a perfect CLI, but once you get the taste of bash, there’s no going back, especially if you are interested in DevOps, Scripting and Automation. CLI and Introduction to Bash
  • 5. On Windows Windows Command Prompt (after adding the environment variable) Hyper Terminal ( Open Source CLI ) Visual Studio Code Terminal ( Ctrl + ` ) Various Ways to Use Bash or any CLI
  • 6. What is GIT Git is a software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Version Control System (VCS)
  • 7. How to install GIT on your local system ?
  • 8. For git ● Initialize a repository ● Make changes ● Add .gitignore file ● Stage the changes ● Commit the changes ● Create a branch (if required) Workflow
  • 9. git init → Init git repository git status → Check git status git log → Check git log ( history of previous commit ) git add . → Stage all the changes git add <file_name> → Stage a particular file git commit -m “commit message” → Commit staged changes
  • 11. Create a branch : git branch <branch_name> Checkout to a branch : git checkout <branch_name> Checkout and create a new branch at same time : git checkout -b <branch_name> Merge 2 branches : 1. Checkout to the branch in which to merge 2.git merge <branch_name> Rebase branch : git rebase <branch_name>
  • 12. What is Github GitHub is a web-based Git version control repository hosting service. It provides all of the distributed version control and source code management (SCM) functionalities of Git.​
  • 13. To work in Github ● Fork the repository ● Clone the forked repository ● Create a branch in your local repository ● Make changes to the local repository in your branch ● Stage & Commit those changes ● Push the changes to Github repository ● Create a Pull Request (PR) to the main repository Workflow
  • 14. Some important additional commands Push Changes to Github : git push origin <branch_name> Pull recent changes from Github : git pull origin <branch_name> Clone a repository from Github : git clone <link_of_github_repo> Commit with old commit message and old commit hash : git commit --amend --no-edit
  • 15. Can’t remember? Don’t remember. GitHub Desktop is a GUI interface for Git programs, and can easily do all the work you can do with a git shell, but without the need of remembering the commands. Just install, login. You’ll be able to see all the commands in there. It is essentially the Windows XP to the MS DOS, in the way that, you can do the same stuff in both, but you don’t need to remember 100 lines of code to just switch from one folder to another and just click and finish the job. An Easier way to Git : GitHub Desktop