SlideShare a Scribd company logo
How to install and use git
Download GIT
https://git-scm.com/download/win
Download installation file from the
above link
Installing GIT
Installing GIT
Installing GIT
Installing GIT
Installing GIT
Register to github.com
• Open an account in https://github.com/
Generating ssh key
• Open GIT bash terminal .
• Go to root directory by typing
cd~
• Type ssh-keygen.exe –t rsa –C
“mygit@gmail.com“ (email that
you have used when you register
to github.com )
• Press “Enter” whenever they ask
for passphrase
Generating ssh key
• Open GIT bash terminal .
• Go to root directory by typing
cd~
• Type ssh-keygen.exe –t rsa –C
“mygit@gmail.com“ (email that
you have used when you register
to github.com )
• Press “Enter” whenever they ask
for passphrase
Registering your ssh key to github
• Go to Settings from your
github account
Registering your ssh key to github
• Go to SSH keys tab
Registering your ssh key to github
• Press Add SSH key
Registering your ssh key to github
• Open C:Usersuser.ssh
in your file explorer
• Open id_rsa.pub file in
notepad
• Copy the text and paste it
to the key field in
github.com
Registering your ssh key to github
• Open C:Usersuser.ssh
in your file explorer
• Open id_rsa.pub file in
notepad
• Copy the text and paste it
to the key field in
github.com
• Press Add key
Creating a repository
• Create new
repository in
github.com
Creating a repository
• Create new
repository in
github.com
Config and use
• Open Git bash terminal in the
corresponding folder
Config and use
• git config --global
user.name
“yourusername“
• git config --global
user.email
“youremail@email.com
"
Config and use
Type the following commands in the terminal
git init
git add –A
git commit -m "first commit“
git remote add origin git@github.com:faysalhossain2007/my-first-git-project.git
git push -u origin master
Teamwork
• Give permission to your
partner in your repository so
that he can update the project
by pushing the latest code.
• To give this permission go to
settings of your repository
• Then go to Collaborators tab
• Type the email or username
whom you want to give the
access
Teamwork
• Give permission to your
partner in your repository so
that he can update the project
by pushing the latest code.
• To give this permission go to
settings of your repository
• Then go to Collaborators tab
• Type the email or username
whom you want to give the
access
Teamwork
• Give permission to your
partner in your repository so
that he can update the project
by pushing the latest code.
• To give this permission go to
settings of your repository
• Then go to Collaborators tab
• Type the email or username
whom you want to give the
access
Teamwork
• When ever you do some change in your file under the project
directory then first add it by typing : git add –A in the terminal
• Then give the commit a name to identify your work by typing : git
commit –m “your message”
• Push it to the github by typing : git push origin master
• Your partner can have the latest updates of the project by pulling the
updated code. To do this he needs to give the following command in
the terminal : git pull origin master
That’s it 

More Related Content

What's hot (10)

PDF
Microservicios funcionales con Java 8, Java EE y Payara Micro
Víctor Leonel Orozco López
 
PPTX
[FR] How did Amadeus build a LACE to support a global SAFe transformation for...
Agile En Seine
 
PDF
Kata: Hexagonal Architecture / Ports and Adapters
holsky
 
PDF
Why Large Scale Scrum (LeSS)?
AdventuresWithAgile
 
PDF
Agile transformation Explanined
LeadingAgile
 
PDF
Preparing for your startup pitch - rehearsal, confidence, and the deadly Q&A
Darren Menabney
 
PDF
23339110 scrum-checklists
sansahib
 
PDF
5 Actionable Ways To Drastically Improve The ROI Of Your SEO Strategy
Search Engine Journal
 
PDF
Clean code
Khou Suylong
 
KEY
Clean code and Code Smells
Mario Sangiorgio
 
Microservicios funcionales con Java 8, Java EE y Payara Micro
Víctor Leonel Orozco López
 
[FR] How did Amadeus build a LACE to support a global SAFe transformation for...
Agile En Seine
 
Kata: Hexagonal Architecture / Ports and Adapters
holsky
 
Why Large Scale Scrum (LeSS)?
AdventuresWithAgile
 
Agile transformation Explanined
LeadingAgile
 
Preparing for your startup pitch - rehearsal, confidence, and the deadly Q&A
Darren Menabney
 
23339110 scrum-checklists
sansahib
 
5 Actionable Ways To Drastically Improve The ROI Of Your SEO Strategy
Search Engine Journal
 
Clean code
Khou Suylong
 
Clean code and Code Smells
Mario Sangiorgio
 

Similar to How to install and use git (20)

PPTX
GitHub_For_Beginners_Presentationss.pptx
ramyagirish78
 
PPTX
Hello Git
bsadd
 
PPTX
Introduction to git and github
Aderemi Dadepo
 
PDF
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
PPTX
Hello, Git!
Shafiul Azam Chowdhury
 
PDF
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
PDF
Git workshop
Reslan Al Tinawi
 
PPTX
Introduction to git and Github
Wycliff1
 
PDF
Git/GitHub
Cindy Royal
 
PPTX
Introduction to git hub
Naveen Pandey
 
PPTX
tech winter break workshop on git &git hub.pptx
ashishraulin
 
PPT
Git ongithub
Almeda Asuncion
 
PDF
Formation git
Ghariani Tewfik
 
PPT
Git101
Jason Noble
 
PDF
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
PDF
Getting started With GIT
GhadiAlGhosh
 
PPTX
Git and github
Sayantika Banik
 
PPTX
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
PPTX
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
GitHub_For_Beginners_Presentationss.pptx
ramyagirish78
 
Hello Git
bsadd
 
Introduction to git and github
Aderemi Dadepo
 
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
Git workshop
Reslan Al Tinawi
 
Introduction to git and Github
Wycliff1
 
Git/GitHub
Cindy Royal
 
Introduction to git hub
Naveen Pandey
 
tech winter break workshop on git &git hub.pptx
ashishraulin
 
Git ongithub
Almeda Asuncion
 
Formation git
Ghariani Tewfik
 
Git101
Jason Noble
 
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
Getting started With GIT
GhadiAlGhosh
 
Git and github
Sayantika Banik
 
Git and GitHub Presentation of GDG on Campus UNSTPB
AmaraCostachiu
 
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Ad

More from Faysal Hossain Shezan (6)

PPTX
Testing Alexa Skill
Faysal Hossain Shezan
 
PPTX
Gcp github-bigquery
Faysal Hossain Shezan
 
PPTX
Git Tutorial (Part 2: Git Merge)
Faysal Hossain Shezan
 
PDF
Security of Voice Controlled Device
Faysal Hossain Shezan
 
PDF
Click jacking
Faysal Hossain Shezan
 
PPTX
Android studio installation
Faysal Hossain Shezan
 
Testing Alexa Skill
Faysal Hossain Shezan
 
Gcp github-bigquery
Faysal Hossain Shezan
 
Git Tutorial (Part 2: Git Merge)
Faysal Hossain Shezan
 
Security of Voice Controlled Device
Faysal Hossain Shezan
 
Click jacking
Faysal Hossain Shezan
 
Android studio installation
Faysal Hossain Shezan
 
Ad

Recently uploaded (20)

PDF
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Tally software_Introduction_Presentation
AditiBansal54083
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 

How to install and use git

  • 1. How to install and use git
  • 8. Register to github.com • Open an account in https://github.com/
  • 9. Generating ssh key • Open GIT bash terminal . • Go to root directory by typing cd~ • Type ssh-keygen.exe –t rsa –C “[email protected]“ (email that you have used when you register to github.com ) • Press “Enter” whenever they ask for passphrase
  • 10. Generating ssh key • Open GIT bash terminal . • Go to root directory by typing cd~ • Type ssh-keygen.exe –t rsa –C “[email protected]“ (email that you have used when you register to github.com ) • Press “Enter” whenever they ask for passphrase
  • 11. Registering your ssh key to github • Go to Settings from your github account
  • 12. Registering your ssh key to github • Go to SSH keys tab
  • 13. Registering your ssh key to github • Press Add SSH key
  • 14. Registering your ssh key to github • Open C:Usersuser.ssh in your file explorer • Open id_rsa.pub file in notepad • Copy the text and paste it to the key field in github.com
  • 15. Registering your ssh key to github • Open C:Usersuser.ssh in your file explorer • Open id_rsa.pub file in notepad • Copy the text and paste it to the key field in github.com • Press Add key
  • 16. Creating a repository • Create new repository in github.com
  • 17. Creating a repository • Create new repository in github.com
  • 18. Config and use • Open Git bash terminal in the corresponding folder
  • 19. Config and use • git config --global user.name “yourusername“ • git config --global user.email “[email protected] "
  • 20. Config and use Type the following commands in the terminal git init git add –A git commit -m "first commit“ git remote add origin [email protected]:faysalhossain2007/my-first-git-project.git git push -u origin master
  • 21. Teamwork • Give permission to your partner in your repository so that he can update the project by pushing the latest code. • To give this permission go to settings of your repository • Then go to Collaborators tab • Type the email or username whom you want to give the access
  • 22. Teamwork • Give permission to your partner in your repository so that he can update the project by pushing the latest code. • To give this permission go to settings of your repository • Then go to Collaborators tab • Type the email or username whom you want to give the access
  • 23. Teamwork • Give permission to your partner in your repository so that he can update the project by pushing the latest code. • To give this permission go to settings of your repository • Then go to Collaborators tab • Type the email or username whom you want to give the access
  • 24. Teamwork • When ever you do some change in your file under the project directory then first add it by typing : git add –A in the terminal • Then give the commit a name to identify your work by typing : git commit –m “your message” • Push it to the github by typing : git push origin master • Your partner can have the latest updates of the project by pulling the updated code. To do this he needs to give the following command in the terminal : git pull origin master