SlideShare a Scribd company logo
GIT &
GITHUB
Kickstart your Open Source Journey this October
VERSION CONTROL
My project Final project Final project - new
feature
Final Project -
another feature
Final-Final project Fully-final
project
HOW DOES GIT HELP IN
VERSION CONTROL
New feature
Final project
(Version 2.0)
Final project
(Version 2.2)
My project
(Version 1.0)
Final project
(Version 2.1)
Another
feature Final-final project
(Version 3.0)
Git just tracks these
changes
BASIC GIT COMMANDS
git init To start tracking changes
To track changes in
<filename>
To save the changes in a
checkpoint
git add <filename>
git commit -m “message”
git status To check the status of changes
git log To see all saved checkpoints
git checkout
<hash_value>
To return to the checkpoint
BRANCHES AND HEAD
● All commits live on a branch.
● A repo can contain many
branches.
● The main branch is usually
called ‘master’.
● ‘HEAD’ refers to the most
recent commit on a branch.
Beginning of
MASTER
branch
BRANCH-1
made from
master
BRANCH-2
made from
master
GITHUB - THE BASICS
CREATE
ISSUES
OPEN SOURCE
GITHUB
GitHub is a provider of Internet hosting for
open source software development and
version control using Git.
COLLABORATION
REMOTE
REPOSITORIES
PULL
REQUESTS
HOW TO CONTRIBUTE
INITIALIZE
REPOSITORY
First step is to
create your repo by
cloning or adding a
remote and initialize
it with git
MAKE YOUR
CHANGES
COMMIT
TRACK
YOUR
CHANGES
MAY 30
Next step is to
stage the edits you
made for git to track
the changes
Lastly, push all the
commits you made
to your forked repo
on GitHub
Save your progress
by committing
which acts as a
checkpoint
Then make suitable
edits in your branch
PUSH IT
CREATE YOUR
BRANCH
Create your branch
for testing changes
you made
GIT COMMANDS FOR
CONTRIBUTION
git clone “url” To clone a project to local device
To start tracking changes
To create and move to the new
branch
git init
git checkout -b <branch_name>
git commit -m “message” To save all of the changes
git push -u origin <branch_name> To push current code to remote
git add . To track all changes in all files
x
PSoc - IIIT Bh
GDSC - IIIT Bh

More Related Content

PPTX
Workshop on Git and GitHub
PPTX
Git and Github Session
PPTX
Git and github fundamentals
PPTX
Git n git hub
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
PPTX
Introduction to git and github
PDF
Introduction to GitHub
PPTX
Git in 10 minutes
Workshop on Git and GitHub
Git and Github Session
Git and github fundamentals
Git n git hub
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Introduction to git and github
Introduction to GitHub
Git in 10 minutes

What's hot (20)

PPTX
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
PDF
Intro to Git & GitHub
PPTX
Introduction to git
PPTX
Github
PDF
Introduction to Git
PPTX
PDF
Introduction to Git and Github
PPTX
Git basics to advance with diagrams
PPTX
Introduction to github slideshare
PPTX
Introduction to Git and GitHub Part 1
PDF
Git, GitHub and Open Source
PPTX
Git & Github
PPT
Git basic
PDF
Git and GitHub workflows
PPTX
Git presentation
PDF
Github Case Study By Amil Ali
PDF
Git Version Control System
PPTX
A prentation on github
PPTX
GitHub Basics - Derek Bable
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Intro to Git & GitHub
Introduction to git
Github
Introduction to Git
Introduction to Git and Github
Git basics to advance with diagrams
Introduction to github slideshare
Introduction to Git and GitHub Part 1
Git, GitHub and Open Source
Git & Github
Git basic
Git and GitHub workflows
Git presentation
Github Case Study By Amil Ali
Git Version Control System
A prentation on github
GitHub Basics - Derek Bable

Similar to HacktoberFest-Git&GitHub (20)

ODP
Git tech talk
PPTX
Hacktoberfest intro to Git and GitHub
PPTX
Git Primer
ODP
The Fundamentals of Git
PPTX
Introduction to Git.pptx
PPTX
Mastering git - Workflow
PPTX
git & git hub course in information retrieval .pptx
PDF
Git cheat-sheet
PDF
Git cheat-sheet 2021
PPTX
this is chpitre 2 of my formation in the kaggle description
PDF
Pro git - grasping it conceptually
PDF
Git basic introduction & tutorial for begginer
PDF
Essential Git and Github commands
PDF
Advanced Git Tutorial
PPTX
GIT.pptx
PDF
Version control
PDF
Git and git flow
PPTX
Linux GIT commands
PDF
Gn unify git
PDF
Git Concepts, Commands and Connectivity
Git tech talk
Hacktoberfest intro to Git and GitHub
Git Primer
The Fundamentals of Git
Introduction to Git.pptx
Mastering git - Workflow
git & git hub course in information retrieval .pptx
Git cheat-sheet
Git cheat-sheet 2021
this is chpitre 2 of my formation in the kaggle description
Pro git - grasping it conceptually
Git basic introduction & tutorial for begginer
Essential Git and Github commands
Advanced Git Tutorial
GIT.pptx
Version control
Git and git flow
Linux GIT commands
Gn unify git
Git Concepts, Commands and Connectivity

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
L1 - Introduction to python Backend.pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Complete Guide to Website Development in Malaysia for SMEs
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
L1 - Introduction to python Backend.pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
Reimagine Home Health with the Power of Agentic AI​
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Autodesk AutoCAD Crack Free Download 2025
Computer Software and OS of computer science of grade 11.pptx
Oracle Fusion HCM Cloud Demo for Beginners
Complete Guide to Website Development in Malaysia for SMEs
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
17 Powerful Integrations Your Next-Gen MLM Software Needs
Adobe Illustrator 28.6 Crack My Vision of Vector Design

HacktoberFest-Git&GitHub

  • 1. GIT & GITHUB Kickstart your Open Source Journey this October
  • 2. VERSION CONTROL My project Final project Final project - new feature Final Project - another feature Final-Final project Fully-final project
  • 3. HOW DOES GIT HELP IN VERSION CONTROL New feature Final project (Version 2.0) Final project (Version 2.2) My project (Version 1.0) Final project (Version 2.1) Another feature Final-final project (Version 3.0) Git just tracks these changes
  • 4. BASIC GIT COMMANDS git init To start tracking changes To track changes in <filename> To save the changes in a checkpoint git add <filename> git commit -m “message” git status To check the status of changes git log To see all saved checkpoints git checkout <hash_value> To return to the checkpoint
  • 5. BRANCHES AND HEAD ● All commits live on a branch. ● A repo can contain many branches. ● The main branch is usually called ‘master’. ● ‘HEAD’ refers to the most recent commit on a branch. Beginning of MASTER branch BRANCH-1 made from master BRANCH-2 made from master
  • 6. GITHUB - THE BASICS CREATE ISSUES OPEN SOURCE GITHUB GitHub is a provider of Internet hosting for open source software development and version control using Git. COLLABORATION REMOTE REPOSITORIES PULL REQUESTS
  • 7. HOW TO CONTRIBUTE INITIALIZE REPOSITORY First step is to create your repo by cloning or adding a remote and initialize it with git MAKE YOUR CHANGES COMMIT TRACK YOUR CHANGES MAY 30 Next step is to stage the edits you made for git to track the changes Lastly, push all the commits you made to your forked repo on GitHub Save your progress by committing which acts as a checkpoint Then make suitable edits in your branch PUSH IT CREATE YOUR BRANCH Create your branch for testing changes you made
  • 8. GIT COMMANDS FOR CONTRIBUTION git clone “url” To clone a project to local device To start tracking changes To create and move to the new branch git init git checkout -b <branch_name> git commit -m “message” To save all of the changes git push -u origin <branch_name> To push current code to remote git add . To track all changes in all files
  • 9. x PSoc - IIIT Bh GDSC - IIIT Bh