SlideShare a Scribd company logo
WORKSHOP ON GIT AND GITHUB
FUNDAMENTALS
WHAT IS GIT ?
•Git is an open-source distributed version control
system created by Linus Torvalds in 2005. It
allows multiple developers to work on a project
simultaneously, without interfering with each
other’s changes. Git tracks and records changes in
files, making it easier to collaborate, backtrack,
and manage code efficiently.
•GitHub is a web-based platform that uses Git, a
version control system, to help developers manage
and track changes in their code. It allows multiple
people to collaborate on a project, track revisions,
and contribute to code from anywhere in the
world. GitHub offers both free and paid plans,
catering to individuals and large organizations
alike.
WHAT IS GITHUB ?
WHAT IS VERSION CONTROL ?
•A system called version control, sometimes
referred to as source control or revision control,
keeps track of changes made to a file or group of
files over time so that you may retrieve particular
versions at a later time.
Difference Between Git and GitHub
S.No. Git GitHub
1. Git is a software. GitHub is a service.
2. Git is a command-line tool
GitHub is a graphical user
interface
3. Git is installed locally on the system GitHub is hosted on the web
4. Git is maintained by Linux.
GitHub is maintained by
Microsoft.
5.
Git is focused on version control and
code sharing.
GitHub is focused on
centralized source code
hosting.
6.
Git is a version control system to
manage source code history.
GitHub is a hosting service
for Git repositories.
7. Git is open-source licensed.
GitHub includes a free-tier
and pay-for-use tier.
HOW TO INSTALL GIT ?
HOW TO MAKE AN ACCOUNT ON GITHUB
BASIC COMMANDS OF GIT
1. GIT CONFIG
2. GIT INIT
3. GIT ADD
4. GIT COMMIT
5. GIT STATUS
6. GIT LOG
7. GIT REMOTE
8. GIT PUSH
9. GIT PULL
10.GIT BRANCH
GIT CONFIG
GIT INIT
GIT ADD
GIT COMMIT
GIT STATUS
GIT LOG
GIT REMOTE
GIT PUSH
PUSHED REPOSITORY
GIT PULL
git&github.pptx for all computer science
GIT BRANCH
CONCLUSION
IN CONCLUSION WHY SHOULD WE USE GIT? SO LET ME GIVE YOU SOME ADVANTAGES.
FIRST, GIT AND GITHUB TRACK THE HISTORY OF YOUR CODE. FOR EXAMPLE YOU ARE
WORKING ON A PROJECT AND AFTER A WHILE YOU CREATE A BIG MESS OF YOUR PROJECT.
THEN IF YOU CORRECT YOUR BE CODE MANUALLY IT WILL BE RISKY BECAUSE IN THE PROCESS
OF MAKING THE CODE THE WAY IT WAS BEFORE, YOU MIGHT END UP DELETING SO HERE
IMPORTANT CODE/REPOSITORY.SO HERE GIT AND GITHUB COMES. IT TRACKS YOUR
CHANGES IN CODE. SO EVEN IF YOU DO SOME MISTAKE YOU CAN GO TO THE PREVIOUS
CODE AND START FROM THERE.
SECOND, COLLABORATION.
NOW, WE ARE IN COLLEGE, THEN WE ARE WORKING ON SOLO PROJECTS. BUT IN THE
COMPANY, THEIR WILL BE SO MANY DEVELOPERS. WHO ARE WORKING ON A SAME
PROJECT. SO IN THE CASE IT IS VERY IMPORTANT TO TRACK THAT, IN WHICH FEATURES OF THE
CODE WHICH DEVELOPER HAS DONE SOME CHANGES. AND ITS IMPORTANT TO TRACK THAT
DEVELOPERS ARE NOT OVERWRITING ON THE SAME CODE. THESE TYPE OF MANY PROBLEM
ARISES AT THAT TIMES. SO GIT HELPS TO RESOLVE SUCH KIND OF PROBLEMS.

More Related Content

Similar to git&github.pptx for all computer science (20)

PPTX
Workshop on Git, GitHub & Web Hosting
GDSCNKOCET
 
PDF
Github Case Study By Amil Ali
AmilAli1
 
PPTX
Introduction to git hub
Naveen Pandey
 
PPTX
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
PPTX
Demo
Miracle Anyanwu
 
PDF
A Tutorial for GitHub.pdf
badrfathallah2
 
PDF
A Tutorial for GitHub.pdf
Amarnadh36
 
PDF
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
PDF
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
PDF
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
PDF
Introduction To Git
Nikhil Vishnu P.V
 
PPTX
Git and GitHub.pptx
kelashraisal052
 
PDF
Git & GitHub WorkShop
SheilaJimenezMorejon
 
PPTX
Git and GitHub PowerPoint Presentation**
KalpeshGandha
 
PPTX
Using Git to Organize Your Project
Manish Suwal 'Enwil'
 
PPTX
Git & Github
Aman Lalpuria
 
PPTX
Introduction to git & github
Vinothini KadambavanaSundaram
 
PPTX
GITHUB
rajeshwari5317
 
PPTX
Git and github
Sayantika Banik
 
PPTX
Github
Nikhil Baby
 
Workshop on Git, GitHub & Web Hosting
GDSCNKOCET
 
Github Case Study By Amil Ali
AmilAli1
 
Introduction to git hub
Naveen Pandey
 
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
A Tutorial for GitHub.pdf
badrfathallah2
 
A Tutorial for GitHub.pdf
Amarnadh36
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
Introduction-to-Git-Github-andWorshop.pdf
SwasKare
 
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
Introduction To Git
Nikhil Vishnu P.V
 
Git and GitHub.pptx
kelashraisal052
 
Git & GitHub WorkShop
SheilaJimenezMorejon
 
Git and GitHub PowerPoint Presentation**
KalpeshGandha
 
Using Git to Organize Your Project
Manish Suwal 'Enwil'
 
Git & Github
Aman Lalpuria
 
Introduction to git & github
Vinothini KadambavanaSundaram
 
Git and github
Sayantika Banik
 
Github
Nikhil Baby
 

Recently uploaded (20)

PDF
Smarter Private Job Search Starts with Formwalaa
Reeshna Prajeesh
 
PPT
SQL.pptkarim pfe rabatkarim pfe rabatkarim pfe rabat
Keeyvikyv
 
PDF
Web Developer Jobs in Jaipur Your Gateway to a Thriving Tech Career in Rajast...
vinay salarite
 
PDF
VisionIAS - UPSC GS Paper I Question Paper 2025 with Answer Key.pdf
saxenashubh937
 
PDF
NotificationForTheTeachingPositionsAdvt012025.pdf
sunitsaathi
 
PPTX
The Future of Law.ppptttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
sahatanmay391
 
PPTX
文凭复刻澳洲电子毕业证阳光海岸大学成绩单USC录取通知书
Taqyea
 
PDF
Walking &Working Surfaces – Stairs & Ladders.pdf
دكتور تامر عبدالله شراكى
 
PDF
Convex optimization analysis in todays world scenario.pdf
mahizxy
 
PPTX
Future_Proofing_Your_Career_25_Essential_Skills_for_2025.pptx
presentifyai
 
PPTX
5G Model Site PPT WBA179_ROB_Ghorai (1).pptx
kousikmaity15
 
PPTX
STATE OFFICERS for organization reference
conqueror3rd
 
PPTX
Ganesh Mahajan Digital marketing Portfolio.pptx
ganeshmahajan786
 
PDF
Get Daily Sarkari Job Updates – Majhi Naukri
Reeshna Prajeesh
 
PDF
Crafting Winning CVs Cover Letters and Mastering Job Interviews with Roman Vi...
Excellence Foundation for South Sudan
 
DOCX
PMCF -Performance Monitoring and Coaching Form
ROSALIESOMBILON
 
PPTX
Student_Support_Services_Presentation.pptx
Muhammad439928
 
PPTX
GSM GPRS & CDMA.pptxbhhhhhhhhjhhhjjjjjjjj
saianuragk33
 
PDF
ILLUMINATI CALL KAMPALA IN UGANDA+256776963507/0741506136
Illuminati Agent in Kampala Uganda+256776963507/0741506136
 
PDF
corporate training firms in pune.........
a25075044
 
Smarter Private Job Search Starts with Formwalaa
Reeshna Prajeesh
 
SQL.pptkarim pfe rabatkarim pfe rabatkarim pfe rabat
Keeyvikyv
 
Web Developer Jobs in Jaipur Your Gateway to a Thriving Tech Career in Rajast...
vinay salarite
 
VisionIAS - UPSC GS Paper I Question Paper 2025 with Answer Key.pdf
saxenashubh937
 
NotificationForTheTeachingPositionsAdvt012025.pdf
sunitsaathi
 
The Future of Law.ppptttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
sahatanmay391
 
文凭复刻澳洲电子毕业证阳光海岸大学成绩单USC录取通知书
Taqyea
 
Walking &Working Surfaces – Stairs & Ladders.pdf
دكتور تامر عبدالله شراكى
 
Convex optimization analysis in todays world scenario.pdf
mahizxy
 
Future_Proofing_Your_Career_25_Essential_Skills_for_2025.pptx
presentifyai
 
5G Model Site PPT WBA179_ROB_Ghorai (1).pptx
kousikmaity15
 
STATE OFFICERS for organization reference
conqueror3rd
 
Ganesh Mahajan Digital marketing Portfolio.pptx
ganeshmahajan786
 
Get Daily Sarkari Job Updates – Majhi Naukri
Reeshna Prajeesh
 
Crafting Winning CVs Cover Letters and Mastering Job Interviews with Roman Vi...
Excellence Foundation for South Sudan
 
PMCF -Performance Monitoring and Coaching Form
ROSALIESOMBILON
 
Student_Support_Services_Presentation.pptx
Muhammad439928
 
GSM GPRS & CDMA.pptxbhhhhhhhhjhhhjjjjjjjj
saianuragk33
 
ILLUMINATI CALL KAMPALA IN UGANDA+256776963507/0741506136
Illuminati Agent in Kampala Uganda+256776963507/0741506136
 
corporate training firms in pune.........
a25075044
 
Ad

git&github.pptx for all computer science

  • 1. WORKSHOP ON GIT AND GITHUB FUNDAMENTALS
  • 2. WHAT IS GIT ? •Git is an open-source distributed version control system created by Linus Torvalds in 2005. It allows multiple developers to work on a project simultaneously, without interfering with each other’s changes. Git tracks and records changes in files, making it easier to collaborate, backtrack, and manage code efficiently.
  • 3. •GitHub is a web-based platform that uses Git, a version control system, to help developers manage and track changes in their code. It allows multiple people to collaborate on a project, track revisions, and contribute to code from anywhere in the world. GitHub offers both free and paid plans, catering to individuals and large organizations alike. WHAT IS GITHUB ?
  • 4. WHAT IS VERSION CONTROL ? •A system called version control, sometimes referred to as source control or revision control, keeps track of changes made to a file or group of files over time so that you may retrieve particular versions at a later time.
  • 5. Difference Between Git and GitHub S.No. Git GitHub 1. Git is a software. GitHub is a service. 2. Git is a command-line tool GitHub is a graphical user interface 3. Git is installed locally on the system GitHub is hosted on the web 4. Git is maintained by Linux. GitHub is maintained by Microsoft. 5. Git is focused on version control and code sharing. GitHub is focused on centralized source code hosting. 6. Git is a version control system to manage source code history. GitHub is a hosting service for Git repositories. 7. Git is open-source licensed. GitHub includes a free-tier and pay-for-use tier.
  • 7. HOW TO MAKE AN ACCOUNT ON GITHUB
  • 8. BASIC COMMANDS OF GIT 1. GIT CONFIG 2. GIT INIT 3. GIT ADD 4. GIT COMMIT 5. GIT STATUS 6. GIT LOG 7. GIT REMOTE 8. GIT PUSH 9. GIT PULL 10.GIT BRANCH
  • 21. CONCLUSION IN CONCLUSION WHY SHOULD WE USE GIT? SO LET ME GIVE YOU SOME ADVANTAGES. FIRST, GIT AND GITHUB TRACK THE HISTORY OF YOUR CODE. FOR EXAMPLE YOU ARE WORKING ON A PROJECT AND AFTER A WHILE YOU CREATE A BIG MESS OF YOUR PROJECT. THEN IF YOU CORRECT YOUR BE CODE MANUALLY IT WILL BE RISKY BECAUSE IN THE PROCESS OF MAKING THE CODE THE WAY IT WAS BEFORE, YOU MIGHT END UP DELETING SO HERE IMPORTANT CODE/REPOSITORY.SO HERE GIT AND GITHUB COMES. IT TRACKS YOUR CHANGES IN CODE. SO EVEN IF YOU DO SOME MISTAKE YOU CAN GO TO THE PREVIOUS CODE AND START FROM THERE. SECOND, COLLABORATION. NOW, WE ARE IN COLLEGE, THEN WE ARE WORKING ON SOLO PROJECTS. BUT IN THE COMPANY, THEIR WILL BE SO MANY DEVELOPERS. WHO ARE WORKING ON A SAME PROJECT. SO IN THE CASE IT IS VERY IMPORTANT TO TRACK THAT, IN WHICH FEATURES OF THE CODE WHICH DEVELOPER HAS DONE SOME CHANGES. AND ITS IMPORTANT TO TRACK THAT DEVELOPERS ARE NOT OVERWRITING ON THE SAME CODE. THESE TYPE OF MANY PROBLEM ARISES AT THAT TIMES. SO GIT HELPS TO RESOLVE SUCH KIND OF PROBLEMS.