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 
Ad

More Related Content

What's hot (20)

Coding standards
Coding standardsCoding standards
Coding standards
Mark Reynolds
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Deploying a 3 tier application using docker
Deploying a 3 tier application using dockerDeploying a 3 tier application using docker
Deploying a 3 tier application using docker
parth2094
 
Penetration Testing AWS
Penetration Testing AWSPenetration Testing AWS
Penetration Testing AWS
Sanjeev Kumar Jaiswal
 
BitBucket presentation
BitBucket presentationBitBucket presentation
BitBucket presentation
Jonathan Lawerh
 
Symbol table
Symbol tableSymbol table
Symbol table
Sarvesh Singh
 
Maven
MavenMaven
Maven
Марія Русин
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
tutorialsruby
 
Owasp zap
Owasp zapOwasp zap
Owasp zap
ColdFusionConference
 
Coding standard
Coding standardCoding standard
Coding standard
Shwetketu Rastogi
 
Accessing Mule variables in groovy
Accessing Mule variables in groovyAccessing Mule variables in groovy
Accessing Mule variables in groovy
Anirban Sen Chowdhary
 
Vim survival guide
Vim survival guideVim survival guide
Vim survival guide
Ben McCormick
 
cascading style sheet ppt
cascading style sheet pptcascading style sheet ppt
cascading style sheet ppt
abhilashagupta
 
DevOps for database
DevOps for databaseDevOps for database
DevOps for database
Osama Mustafa
 
05 Introduccion a HTML
05 Introduccion a HTML05 Introduccion a HTML
05 Introduccion a HTML
Víctor Manuel García Luna
 
Selenium Locators
Selenium LocatorsSelenium Locators
Selenium Locators
Satyam Pandey
 
JUNit Presentation
JUNit PresentationJUNit Presentation
JUNit Presentation
Animesh Kumar
 
OWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security SanityOWASP DefectDojo - Open Source Security Sanity
OWASP DefectDojo - Open Source Security Sanity
Matt Tesauro
 
Building with Gradle
Building with GradleBuilding with Gradle
Building with Gradle
Kaunas Java User Group
 
IMMERSE 2016 Introducing content fragments
IMMERSE 2016 Introducing content fragmentsIMMERSE 2016 Introducing content fragments
IMMERSE 2016 Introducing content fragments
AdobeMarketingCloud
 

Similar to How to install and use git (20)

Git first contributions
Git first contributionsGit first contributions
Git first contributions
Yogendra Sharma
 
Hello, Git!
Hello, Git!Hello, Git!
Hello, Git!
Shafiul Azam Chowdhury
 
Introduction to Git and GitHub By GDG on Campus Kaba University
Introduction to Git and GitHub By GDG on Campus Kaba UniversityIntroduction to Git and GitHub By GDG on Campus Kaba University
Introduction to Git and GitHub By GDG on Campus Kaba University
makobisimon
 
Hello Git
Hello GitHello Git
Hello Git
bsadd
 
Git within RStudio
Git within RStudioGit within RStudio
Git within RStudio
PaulinaJedynakPhD
 
GIT & COMPOSER __BASIC_git git git git.pptx
GIT & COMPOSER __BASIC_git git git git.pptxGIT & COMPOSER __BASIC_git git git git.pptx
GIT & COMPOSER __BASIC_git git git git.pptx
entonk2
 
Git ritesh venture_pact
Git ritesh venture_pactGit ritesh venture_pact
Git ritesh venture_pact
riteshtandon23
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo
 
Beginner's guide to git and github
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
SahilSonar4
 
Git/GitHub
Git/GitHubGit/GitHub
Git/GitHub
Cindy Royal
 
16 Git
16 Git16 Git
16 Git
Hadley Wickham
 
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
DevOps Expt 2.pdf
DevOps Expt 2.pdfDevOps Expt 2.pdf
DevOps Expt 2.pdf
SomnathMule5
 
Openstack contribution process
Openstack contribution processOpenstack contribution process
Openstack contribution process
Syed Armani
 
OpenStack Contribution Process
OpenStack Contribution ProcessOpenStack Contribution Process
OpenStack Contribution Process
openstackindia
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
Bitbucket git-bamboo-jira
Bitbucket git-bamboo-jiraBitbucket git-bamboo-jira
Bitbucket git-bamboo-jira
lenamattt
 
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
Omar Fathy
 
Git101
Git101Git101
Git101
Jason Noble
 
Introduction to Git and GitHub By GDG on Campus Kaba University
Introduction to Git and GitHub By GDG on Campus Kaba UniversityIntroduction to Git and GitHub By GDG on Campus Kaba University
Introduction to Git and GitHub By GDG on Campus Kaba University
makobisimon
 
Hello Git
Hello GitHello Git
Hello Git
bsadd
 
GIT & COMPOSER __BASIC_git git git git.pptx
GIT & COMPOSER __BASIC_git git git git.pptxGIT & COMPOSER __BASIC_git git git git.pptx
GIT & COMPOSER __BASIC_git git git git.pptx
entonk2
 
Git ritesh venture_pact
Git ritesh venture_pactGit ritesh venture_pact
Git ritesh venture_pact
riteshtandon23
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo
 
Beginner's guide to git and github
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
SahilSonar4
 
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
Openstack contribution process
Openstack contribution processOpenstack contribution process
Openstack contribution process
Syed Armani
 
OpenStack Contribution Process
OpenStack Contribution ProcessOpenStack Contribution Process
OpenStack Contribution Process
openstackindia
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
Bitbucket git-bamboo-jira
Bitbucket git-bamboo-jiraBitbucket git-bamboo-jira
Bitbucket git-bamboo-jira
lenamattt
 
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
Omar Fathy
 
Ad

More from Faysal Hossain Shezan (6)

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

Recently uploaded (20)

How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 

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