SlideShare a Scribd company logo
Table of Content
 Git initialization
 Declare username and email(globally or locally)
 Check username and email
 Git status
 Add file
 Commit
 Remove file
 Master branch
 Branch create
 Shifting branch
 Check how many branch
 Merge branch
 Delete branch
 Clone
 Fetch & Pull
 Push Md. Jane Alam Adnan
(Student)
Noakhali Science & Technology University
Gmail : adnannstu@gmail.com
Contact : 01825003211
Content Creator
git initialization
1. go to your project folder.
2. Right click on your mouse.
3. Select git bush here.
4. Then type git init
5. Press Enter
username & email
1. In github command window you have to write….
2. git config –global user.name “NameHere” Press Enter
3. git config –global user.email “user@gmail.com” Press Enter
Global Declaration
username & email
1. In github command window you have to write….
2. git config user.name “NameHere”
3. git config user.email user@gmail.com
4. Press Enter
local Declaration
Check username & email
1. In github command window you have to write….
2. git config –list
3. Press Enter
Check git status
1. In github command window you have to write….
2. Git status
3. Press Enter
Add a specific file
1. In github command window you have to write….
2. git add filename(WithExtension)
3. Press Enter
Add all of file your project
1. In github command window you have to write….
2. git add –all or git add .
3. Press Enter
or
Full stop mandatory
Commit
1. In github command window you have to write….
2. git commit –m “type a comment”
3. Press Enter
After update anything of your project you should commit it
Check how many Commit
1. In github command window you have to write….
2. git log
3. Press Enter
If you want to check how many commit you had done yet then you can write....
Fig : All commit show here
Remove any file
1. In github command window you have to write….
2. git rm filename(withExtension)
3. Press Enter
To remove any file form your github project then have to write……….
1. In github command window you have t
2. git reset HEAD filename
3. Press Enter
Create Branch
1. In github command window you have to write….
2. git branch branchName
3. Press Enter
To create a branch for your project then you have to write…………..
Check how many branch
1. In github command window you have to write….
2. git branch
3. Press Enter
Active branch
Shift branch
1. In github command window you have to write….
2. git checkout branchname
3. Press Enter
When a project will be managed by a team, then each member will work as a branch…….if you want to
work from your branch , you have to checkout your branch……….for checking/shifting your branch
Master branch
1. In github command window you have to write….
2. git checkout master
3. Press Enter
If you want to go to your master branch then………..
Merge
1. In github command window you have to write….
2. git merge branchname
3. Press Enter
If you want to merge your updated all file with your master branch.
First you have to go to your master branch then
Delete Branch
1. In github command window you have to write….
2. git branch –D branchname
3. Press Enter
Clone
1. In github command window you have to write….
2. git clone gitCloneLink
3. Press Enter
When you want to download a github file from the git server to your local computer
Fetch
1. In github command window you have to write….
2. git fetch
3. Press Enter
When you update your project folder from your git repository , and still want this change will apply
of your local computer project file. Then you have to write…………..
Pull
1. In github command window you have to write….
2. git pull
3. Press Enter
After fetch your local file won’t be updated, for update you have to write
Another command like……….
Push
1. In github command window you have to write….
2. git push
3. Press Enter
When you add a new file on your local project and want to upload these files on your git server
Md. Jane Alam Adnan
(Student)
Noakhali Science & Technology University
Gmail : adnannstu@gmail.com
Contact : 01825003211
Content Creator

More Related Content

What's hot

Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
James Gray
 
git and github
git and githubgit and github
git and github
Darren Oakley
 
The everyday developer's guide to version control with Git
The everyday developer's guide to version control with GitThe everyday developer's guide to version control with Git
The everyday developer's guide to version control with Git
E Carter
 
Git & Github for beginners
Git & Github for beginnersGit & Github for beginners
Git & Github for beginners
Paulo Henrique Nonaka
 
Git & GitHub for Beginners
Git & GitHub for BeginnersGit & GitHub for Beginners
Git & GitHub for Beginners
Sébastien Saunier
 
Introduction to Git (part 1)
Introduction to Git (part 1)Introduction to Git (part 1)
Introduction to Git (part 1)
Salvatore Cordiano
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
Matthew McCullough
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
Nicolás Tourné
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
Elli Kanal
 
Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
Lee Hanxue
 
Git in a nutshell
Git in a nutshellGit in a nutshell
Git in a nutshell
Pranesh Vittal
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
Aderemi Dadepo
 
Git and Github
Git and GithubGit and Github
Git and Github
Wen-Tien Chang
 
Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
Anurag Upadhaya
 
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris WanstrathInside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
SV Ruby on Rails Meetup
 
Git basic
Git basicGit basic
Git basic
Emran Ul Hadi
 
Git, from the beginning
Git, from the beginningGit, from the beginning
Git, from the beginning
James Aylett
 
GIT in a nutshell
GIT in a nutshellGIT in a nutshell
GIT in a nutshell
alignan
 
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009Git Basics - RubyFest 2009
Git Basics - RubyFest 2009
Ariejan de Vroom
 
Git real slides
Git real slidesGit real slides
Git real slides
Lucas Couto
 

What's hot (20)

Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
git and github
git and githubgit and github
git and github
 
The everyday developer's guide to version control with Git
The everyday developer's guide to version control with GitThe everyday developer's guide to version control with Git
The everyday developer's guide to version control with Git
 
Git & Github for beginners
Git & Github for beginnersGit & Github for beginners
Git & Github for beginners
 
Git & GitHub for Beginners
Git & GitHub for BeginnersGit & GitHub for Beginners
Git & GitHub for Beginners
 
Introduction to Git (part 1)
Introduction to Git (part 1)Introduction to Git (part 1)
Introduction to Git (part 1)
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
 
Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
 
Git in a nutshell
Git in a nutshellGit in a nutshell
Git in a nutshell
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
 
Inside GitHub with Chris Wanstrath
Inside GitHub with Chris WanstrathInside GitHub with Chris Wanstrath
Inside GitHub with Chris Wanstrath
 
Git basic
Git basicGit basic
Git basic
 
Git, from the beginning
Git, from the beginningGit, from the beginning
Git, from the beginning
 
GIT in a nutshell
GIT in a nutshellGIT in a nutshell
GIT in a nutshell
 
Git Basics - RubyFest 2009
Git Basics - RubyFest 2009Git Basics - RubyFest 2009
Git Basics - RubyFest 2009
 
Git real slides
Git real slidesGit real slides
Git real slides
 

Similar to Github

Github
GithubGithub
Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
GDSC UofT Mississauga
 
16 Git
16 Git16 Git
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
BeckhamWee
 
Git essentials
Git essentialsGit essentials
Git essentials
Otto Kekäläinen
 
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a gitVincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
VincitOy
 
Practical git for developers
Practical git for developersPractical git for developers
Practical git for developers
Wim Godden
 
Git Primer
Git PrimerGit Primer
Git Primer
Michael Pearce
 
Git Hub Platform
Git Hub PlatformGit Hub Platform
Git Hub Platform
Gaurav Ahluwalia
 
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
prostackacademy
 
Essential Git and Github commands
Essential Git and Github commandsEssential Git and Github commands
Essential Git and Github commands
Isham Rashik
 
Git flow
Git flowGit flow
Git flow
Suraj Aair
 
How to install git on ubuntu
How to install git on ubuntuHow to install git on ubuntu
How to install git on ubuntu
baran19901990
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptx
Hitesh670643
 
Git within RStudio
Git within RStudioGit within RStudio
Git within RStudio
PaulinaJedynakPhD
 
Hello, Git!
Hello, Git!Hello, Git!
Mastering git - Workflow
Mastering git - WorkflowMastering git - Workflow
Mastering git - Workflow
Tahsin Abrar
 
Gitt and Git-flow
Gitt and Git-flowGitt and Git-flow
Gitt and Git-flow
Md. Masud
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
聖文 鄭
 
Git presentation
Git presentationGit presentation
Git presentation
Vikas Yaligar
 

Similar to Github (20)

Github
GithubGithub
Github
 
Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
 
16 Git
16 Git16 Git
16 Git
 
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
 
Git essentials
Git essentialsGit essentials
Git essentials
 
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a gitVincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
Vincit Teatime 2015.2 - Otto Kekäläinen: Don't be a git
 
Practical git for developers
Practical git for developersPractical git for developers
Practical git for developers
 
Git Primer
Git PrimerGit Primer
Git Primer
 
Git Hub Platform
Git Hub PlatformGit Hub Platform
Git Hub Platform
 
Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Essential Git and Github commands
Essential Git and Github commandsEssential Git and Github commands
Essential Git and Github commands
 
Git flow
Git flowGit flow
Git flow
 
How to install git on ubuntu
How to install git on ubuntuHow to install git on ubuntu
How to install git on ubuntu
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptx
 
Git within RStudio
Git within RStudioGit within RStudio
Git within RStudio
 
Hello, Git!
Hello, Git!Hello, Git!
Hello, Git!
 
Mastering git - Workflow
Mastering git - WorkflowMastering git - Workflow
Mastering git - Workflow
 
Gitt and Git-flow
Gitt and Git-flowGitt and Git-flow
Gitt and Git-flow
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
 
Git presentation
Git presentationGit presentation
Git presentation
 

Recently uploaded

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 

Recently uploaded (20)

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 

Github

  • 1.
  • 2. Table of Content  Git initialization  Declare username and email(globally or locally)  Check username and email  Git status  Add file  Commit  Remove file  Master branch  Branch create  Shifting branch  Check how many branch  Merge branch  Delete branch  Clone  Fetch & Pull  Push Md. Jane Alam Adnan (Student) Noakhali Science & Technology University Gmail : adnannstu@gmail.com Contact : 01825003211 Content Creator
  • 3. git initialization 1. go to your project folder. 2. Right click on your mouse. 3. Select git bush here. 4. Then type git init 5. Press Enter
  • 4. username & email 1. In github command window you have to write…. 2. git config –global user.name “NameHere” Press Enter 3. git config –global user.email “user@gmail.com” Press Enter Global Declaration
  • 5. username & email 1. In github command window you have to write…. 2. git config user.name “NameHere” 3. git config user.email user@gmail.com 4. Press Enter local Declaration
  • 6. Check username & email 1. In github command window you have to write…. 2. git config –list 3. Press Enter
  • 7. Check git status 1. In github command window you have to write…. 2. Git status 3. Press Enter
  • 8. Add a specific file 1. In github command window you have to write…. 2. git add filename(WithExtension) 3. Press Enter
  • 9. Add all of file your project 1. In github command window you have to write…. 2. git add –all or git add . 3. Press Enter or Full stop mandatory
  • 10. Commit 1. In github command window you have to write…. 2. git commit –m “type a comment” 3. Press Enter After update anything of your project you should commit it
  • 11. Check how many Commit 1. In github command window you have to write…. 2. git log 3. Press Enter If you want to check how many commit you had done yet then you can write.... Fig : All commit show here
  • 12. Remove any file 1. In github command window you have to write…. 2. git rm filename(withExtension) 3. Press Enter To remove any file form your github project then have to write………. 1. In github command window you have t 2. git reset HEAD filename 3. Press Enter
  • 13. Create Branch 1. In github command window you have to write…. 2. git branch branchName 3. Press Enter To create a branch for your project then you have to write…………..
  • 14. Check how many branch 1. In github command window you have to write…. 2. git branch 3. Press Enter Active branch
  • 15. Shift branch 1. In github command window you have to write…. 2. git checkout branchname 3. Press Enter When a project will be managed by a team, then each member will work as a branch…….if you want to work from your branch , you have to checkout your branch……….for checking/shifting your branch
  • 16. Master branch 1. In github command window you have to write…. 2. git checkout master 3. Press Enter If you want to go to your master branch then………..
  • 17. Merge 1. In github command window you have to write…. 2. git merge branchname 3. Press Enter If you want to merge your updated all file with your master branch. First you have to go to your master branch then
  • 18. Delete Branch 1. In github command window you have to write…. 2. git branch –D branchname 3. Press Enter
  • 19. Clone 1. In github command window you have to write…. 2. git clone gitCloneLink 3. Press Enter When you want to download a github file from the git server to your local computer
  • 20. Fetch 1. In github command window you have to write…. 2. git fetch 3. Press Enter When you update your project folder from your git repository , and still want this change will apply of your local computer project file. Then you have to write…………..
  • 21. Pull 1. In github command window you have to write…. 2. git pull 3. Press Enter After fetch your local file won’t be updated, for update you have to write Another command like……….
  • 22. Push 1. In github command window you have to write…. 2. git push 3. Press Enter When you add a new file on your local project and want to upload these files on your git server
  • 23. Md. Jane Alam Adnan (Student) Noakhali Science & Technology University Gmail : adnannstu@gmail.com Contact : 01825003211 Content Creator