SlideShare a Scribd company logo
Presented by
Repertoire of Contributions
Day 2
“Hands-on-session on Git and GitHub”
Brought to you by
Today's Agenda💮
❏ What Is Git? 🤔
❏ Git Commands 😉
❏ Branches In Git 🤔🎓
❏ Git And GitHub Workflow
❏ Steps To Contribute In Hacktoberfest 💻
❏ Merging Pull Requests 🐱👤
❏ Resource To Learn Everything About Git🎡
Software Developer
Azegate IT Solutions
Aman
Irshad
@amanirshad
Introduction to Git
Git is an open source distributed version control system.
Let’s break it down into simple words and see what it means.
What Is VCS?😉
❏ A Version Control System tracks the history of changes as people and
teams collaborate on projects together.
❏ As the project evolves, teams can run tests, fix bugs, and contribute new
code with the confidence that any version can be recovered at any time.
❏ Developers can review project history to find the answers to questions
like “which changes were made?”, “who made the changes?”, “when
were the changes made?”, “why were the changes needed?”, and many
more.
What is Distributed VCS?
❏ DVCSs allow full access to every file, branch, and iteration of a
project, and allows every user access to a full and self-contained
history of all changes.
❏ Git doesn’t need a constant connection to a central repository.
❏ Developers can work anywhere and collaborate asynchronously
from any time zone.
❏ Without Version Control, team members are subject to
redundant tasks, slower timelines and multiple copies of a single
project.
What is Git?🤔
❏ Git is an example of Distributed Version Control System commonly used for
open source and commercial software development.
❏ According to latest statistics, more than 70 percent of developers use git,
making it the most used VCS in the world.
❏ Git has significant benefits for individuals, teams and businesses.
Why use Git?💻
❏ Git lets developers see the entire timeline of their changes, decisions, and
progression of any project in one place.
❏ Developers work in every time zone. With a DVCS like Git, collaboration can
happen any time while maintaining source code integrity.
❏ Using branches, developers can safely propose changes to production code.
❏ Businesses using Git can break down communication barriers between teams and
keep them focused on doing their best work.
❏ Git makes it possible to align experts across a business to collaborate on major
projects.
Getting Started with Git🐱👤
❏ Downloading Git: You can download git for your specific operating
system from here: https://git-scm.com/downloads
❏ The following link has the details of downloading and installing git in
multiple operating systems: https://git-scm.com/book/en/v2/Getting-
Started-Installing-Git
❏ You’re all set!
Git Commands🐱👤
❏ git --version
❏ git init <directory>
❏ git add <directory>
❏ git config user.name <name>
❏ git clone <repo>
For more commands visit:
https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet
❏ git commit -m “message”
❏ git status
❏ git log
❏ git pull
❏ git diff
How does GitHub fit in?
● Github is a Git hosting repository that provides developers with tools to ship
better code through command line features, issues, pull requests, code review,
etc.
● With collaboration layers like Github flow, a community of 15 million
developers, and an ecosystem with hundreds of integrations, Github changes
the way software is built.
● Github builds collaboration directly into the development process.
Branches in Git
Branching means you diverge from the main line of development and
continue to do work without messing with that main line. Creating a new
branch allows you to create a new pointer to move around.
Your Work
Main Branch
Someone else’s Work
Git Workflow
A Git workflow is a recipe or recommendation for how to use Git to accomplish
work in a consistent and productive manner. Git workflows encourage
developers and DevOps teams to leverage Git effectively and consistently. Git
offers a lot of flexibility in how users manage changes.
GitHub Workflow
‘Master’ Branch
Create Branch
Commit Changes
Pull Requests
Get Feedback
Merge Changes
What Happens After You Make A PR?
● After you make a Pull Request, the maintainer of the repository will be able to
see and compare the changes you have made to the project.
● If they find some problems, they can request changes to be made and provide
feedback. They will also check whether your PR has followed all the
“contributing guidelines” usually mentioned in the project.
● After this is done, your PR will be merged into the required branch of the
project by the maintainer.
● A PR wrongly merged can be reverted back using the “Revert” button in
Github.
Contribute In Hacktoberfest
❏ Find the repository you want to make changes to. (Has to contain the
“hacktoberfest” label in it)
❏ Find an issue you want to work on (preferably with the label “good-
first-issue”)
❏ Fork the repo
❏ Clone the repo to local computer
❏ Make changes as required
❏ Commit changes
❏ Make a pull request
❏ Wait for your PR to get merged with the label “hacktoberfest-
accepted”.
A Note To Remember
● While searching for an issue to solve, you will find that some
of them already have assignees. This means that someone has
already been assigned to solve the issue mentioned.
● If that is the case, try finding another issue which does not
have any assignees and you can either ask the maintainer to
assign you the task or you can make a pull request and link it
to that particular issue.
THE END

More Related Content

What's hot

Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
Anurag Upadhaya
 
CI/CD with GitHub Actions
CI/CD with GitHub ActionsCI/CD with GitHub Actions
CI/CD with GitHub Actions
Swaminathan Vetri
 
Git
GitGit
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
Rakesh Sukumar
 
Git One Day Training Notes
Git One Day Training NotesGit One Day Training Notes
Git One Day Training Notes
glen_a_smith
 
Git and github
Git and githubGit and github
Git and github
Sayantika Banik
 
Git training v10
Git training v10Git training v10
Git training v10
Skander Hamza
 
CI with Gitlab & Docker
CI with Gitlab & DockerCI with Gitlab & Docker
CI with Gitlab & Docker
Joerg Henning
 
Git undo
Git undoGit undo
Git undo
Avilay Parekh
 
Continuous Integration/Deployment with Gitlab CI
Continuous Integration/Deployment with Gitlab CIContinuous Integration/Deployment with Gitlab CI
Continuous Integration/Deployment with Gitlab CI
David Hahn
 
Git & GitHub WorkShop
Git & GitHub WorkShopGit & GitHub WorkShop
Git & GitHub WorkShop
SheilaJimenezMorejon
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash Course
Nilay Binjola
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
Tilton2
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
Senthilkumar Gopal
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
Git hub ppt presentation
Git hub ppt presentationGit hub ppt presentation
Git hub ppt presentation
AyanaRukasar
 
Introduction to Gitlab
Introduction to GitlabIntroduction to Gitlab
Introduction to GitlabJulien Pivotto
 
Advanced Git Tutorial
Advanced Git TutorialAdvanced Git Tutorial
Advanced Git Tutorial
Sage Sharp
 
GitHub Presentation
GitHub PresentationGitHub Presentation
GitHub Presentation
BrianSchilder
 

What's hot (20)

Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
 
CI/CD with GitHub Actions
CI/CD with GitHub ActionsCI/CD with GitHub Actions
CI/CD with GitHub Actions
 
Git
GitGit
Git
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
 
Git One Day Training Notes
Git One Day Training NotesGit One Day Training Notes
Git One Day Training Notes
 
Git and github
Git and githubGit and github
Git and github
 
Git training v10
Git training v10Git training v10
Git training v10
 
CI with Gitlab & Docker
CI with Gitlab & DockerCI with Gitlab & Docker
CI with Gitlab & Docker
 
Git undo
Git undoGit undo
Git undo
 
Continuous Integration/Deployment with Gitlab CI
Continuous Integration/Deployment with Gitlab CIContinuous Integration/Deployment with Gitlab CI
Continuous Integration/Deployment with Gitlab CI
 
Git & GitHub WorkShop
Git & GitHub WorkShopGit & GitHub WorkShop
Git & GitHub WorkShop
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash Course
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
 
Git hub ppt presentation
Git hub ppt presentationGit hub ppt presentation
Git hub ppt presentation
 
Introduction to Gitlab
Introduction to GitlabIntroduction to Gitlab
Introduction to Gitlab
 
Advanced Git Tutorial
Advanced Git TutorialAdvanced Git Tutorial
Advanced Git Tutorial
 
GitHub Presentation
GitHub PresentationGitHub Presentation
GitHub Presentation
 

Similar to Workshop on Git and GitHub

Git tech
Git techGit tech
Git tech
Taj Nehme
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
Himanshu Agrawal
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
Day 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptxDay 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptx
Google Developer Students Clubs - CTU
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
JasleenSondhi
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
SawanBhattacharya
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
Jayprakash677449
 
Hacktoberfest 2021
Hacktoberfest 2021Hacktoberfest 2021
Hacktoberfest 2021
SadhanaParameswaran
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
Chen-Tien Tsai
 
A crash course on git as version control system and GitHub
A crash course on git as version control system and GitHubA crash course on git as version control system and GitHub
A crash course on git as version control system and GitHub
Jerome Mberia
 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
Ahmed Taha
 
Formation git
Formation gitFormation git
Formation git
Ghariani Tewfik
 
Github
GithubGithub
Github
MeetPatel710
 
concordia hacktoberfest.pptx
concordia hacktoberfest.pptxconcordia hacktoberfest.pptx
concordia hacktoberfest.pptx
AnkurVerma95745
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
WordCamp Harare
 
Gitting better
Gitting betterGitting better
Gitting better
Ali Servet Donmez
 

Similar to Workshop on Git and GitHub (20)

Git tech
Git techGit tech
Git tech
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
 
Day 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptxDay 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptx
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
 
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
 
Hacktoberfest 2021
Hacktoberfest 2021Hacktoberfest 2021
Hacktoberfest 2021
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
A crash course on git as version control system and GitHub
A crash course on git as version control system and GitHubA crash course on git as version control system and GitHub
A crash course on git as version control system and GitHub
 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
 
Formation git
Formation gitFormation git
Formation git
 
Github
GithubGithub
Github
 
concordia hacktoberfest.pptx
concordia hacktoberfest.pptxconcordia hacktoberfest.pptx
concordia hacktoberfest.pptx
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 
Gitting better
Gitting betterGitting better
Gitting better
 

More from DSCVSSUT

Flutter-Festivals Day-4.pptx
Flutter-Festivals Day-4.pptxFlutter-Festivals Day-4.pptx
Flutter-Festivals Day-4.pptx
DSCVSSUT
 
Flutter-Festivals Day-3.pptx
Flutter-Festivals Day-3.pptxFlutter-Festivals Day-3.pptx
Flutter-Festivals Day-3.pptx
DSCVSSUT
 
Flutter-Festivals Day-2.pptx
Flutter-Festivals Day-2.pptxFlutter-Festivals Day-2.pptx
Flutter-Festivals Day-2.pptx
DSCVSSUT
 
Dart and Flutter Basics.pptx
Dart and Flutter Basics.pptxDart and Flutter Basics.pptx
Dart and Flutter Basics.pptx
DSCVSSUT
 
Google Developer Student Clubs 2022 Solution Challenge
Google Developer Student Clubs 2022 Solution ChallengeGoogle Developer Student Clubs 2022 Solution Challenge
Google Developer Student Clubs 2022 Solution Challenge
DSCVSSUT
 
Android Study Jam Session 2
Android Study Jam Session 2Android Study Jam Session 2
Android Study Jam Session 2
DSCVSSUT
 
Android Study Jam Session 1
Android Study Jam Session 1Android Study Jam Session 1
Android Study Jam Session 1
DSCVSSUT
 
Android Study Jam - Info Session
Android Study Jam - Info SessionAndroid Study Jam - Info Session
Android Study Jam - Info Session
DSCVSSUT
 
Repertoire of contributions hacktoberfest
Repertoire of contributions hacktoberfestRepertoire of contributions hacktoberfest
Repertoire of contributions hacktoberfest
DSCVSSUT
 

More from DSCVSSUT (9)

Flutter-Festivals Day-4.pptx
Flutter-Festivals Day-4.pptxFlutter-Festivals Day-4.pptx
Flutter-Festivals Day-4.pptx
 
Flutter-Festivals Day-3.pptx
Flutter-Festivals Day-3.pptxFlutter-Festivals Day-3.pptx
Flutter-Festivals Day-3.pptx
 
Flutter-Festivals Day-2.pptx
Flutter-Festivals Day-2.pptxFlutter-Festivals Day-2.pptx
Flutter-Festivals Day-2.pptx
 
Dart and Flutter Basics.pptx
Dart and Flutter Basics.pptxDart and Flutter Basics.pptx
Dart and Flutter Basics.pptx
 
Google Developer Student Clubs 2022 Solution Challenge
Google Developer Student Clubs 2022 Solution ChallengeGoogle Developer Student Clubs 2022 Solution Challenge
Google Developer Student Clubs 2022 Solution Challenge
 
Android Study Jam Session 2
Android Study Jam Session 2Android Study Jam Session 2
Android Study Jam Session 2
 
Android Study Jam Session 1
Android Study Jam Session 1Android Study Jam Session 1
Android Study Jam Session 1
 
Android Study Jam - Info Session
Android Study Jam - Info SessionAndroid Study Jam - Info Session
Android Study Jam - Info Session
 
Repertoire of contributions hacktoberfest
Repertoire of contributions hacktoberfestRepertoire of contributions hacktoberfest
Repertoire of contributions hacktoberfest
 

Recently uploaded

How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

Workshop on Git and GitHub

  • 1. Presented by Repertoire of Contributions Day 2 “Hands-on-session on Git and GitHub” Brought to you by
  • 2. Today's Agenda💮 ❏ What Is Git? 🤔 ❏ Git Commands 😉 ❏ Branches In Git 🤔🎓 ❏ Git And GitHub Workflow ❏ Steps To Contribute In Hacktoberfest 💻 ❏ Merging Pull Requests 🐱👤 ❏ Resource To Learn Everything About Git🎡
  • 3. Software Developer Azegate IT Solutions Aman Irshad @amanirshad
  • 4. Introduction to Git Git is an open source distributed version control system. Let’s break it down into simple words and see what it means.
  • 5. What Is VCS?😉 ❏ A Version Control System tracks the history of changes as people and teams collaborate on projects together. ❏ As the project evolves, teams can run tests, fix bugs, and contribute new code with the confidence that any version can be recovered at any time. ❏ Developers can review project history to find the answers to questions like “which changes were made?”, “who made the changes?”, “when were the changes made?”, “why were the changes needed?”, and many more.
  • 6. What is Distributed VCS? ❏ DVCSs allow full access to every file, branch, and iteration of a project, and allows every user access to a full and self-contained history of all changes. ❏ Git doesn’t need a constant connection to a central repository. ❏ Developers can work anywhere and collaborate asynchronously from any time zone. ❏ Without Version Control, team members are subject to redundant tasks, slower timelines and multiple copies of a single project.
  • 7. What is Git?🤔 ❏ Git is an example of Distributed Version Control System commonly used for open source and commercial software development. ❏ According to latest statistics, more than 70 percent of developers use git, making it the most used VCS in the world. ❏ Git has significant benefits for individuals, teams and businesses.
  • 8. Why use Git?💻 ❏ Git lets developers see the entire timeline of their changes, decisions, and progression of any project in one place. ❏ Developers work in every time zone. With a DVCS like Git, collaboration can happen any time while maintaining source code integrity. ❏ Using branches, developers can safely propose changes to production code. ❏ Businesses using Git can break down communication barriers between teams and keep them focused on doing their best work. ❏ Git makes it possible to align experts across a business to collaborate on major projects.
  • 9. Getting Started with Git🐱👤 ❏ Downloading Git: You can download git for your specific operating system from here: https://git-scm.com/downloads ❏ The following link has the details of downloading and installing git in multiple operating systems: https://git-scm.com/book/en/v2/Getting- Started-Installing-Git ❏ You’re all set!
  • 10. Git Commands🐱👤 ❏ git --version ❏ git init <directory> ❏ git add <directory> ❏ git config user.name <name> ❏ git clone <repo> For more commands visit: https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet ❏ git commit -m “message” ❏ git status ❏ git log ❏ git pull ❏ git diff
  • 11. How does GitHub fit in? ● Github is a Git hosting repository that provides developers with tools to ship better code through command line features, issues, pull requests, code review, etc. ● With collaboration layers like Github flow, a community of 15 million developers, and an ecosystem with hundreds of integrations, Github changes the way software is built. ● Github builds collaboration directly into the development process.
  • 12. Branches in Git Branching means you diverge from the main line of development and continue to do work without messing with that main line. Creating a new branch allows you to create a new pointer to move around. Your Work Main Branch Someone else’s Work
  • 13. Git Workflow A Git workflow is a recipe or recommendation for how to use Git to accomplish work in a consistent and productive manner. Git workflows encourage developers and DevOps teams to leverage Git effectively and consistently. Git offers a lot of flexibility in how users manage changes.
  • 14. GitHub Workflow ‘Master’ Branch Create Branch Commit Changes Pull Requests Get Feedback Merge Changes
  • 15. What Happens After You Make A PR? ● After you make a Pull Request, the maintainer of the repository will be able to see and compare the changes you have made to the project. ● If they find some problems, they can request changes to be made and provide feedback. They will also check whether your PR has followed all the “contributing guidelines” usually mentioned in the project. ● After this is done, your PR will be merged into the required branch of the project by the maintainer. ● A PR wrongly merged can be reverted back using the “Revert” button in Github.
  • 16. Contribute In Hacktoberfest ❏ Find the repository you want to make changes to. (Has to contain the “hacktoberfest” label in it) ❏ Find an issue you want to work on (preferably with the label “good- first-issue”) ❏ Fork the repo ❏ Clone the repo to local computer ❏ Make changes as required ❏ Commit changes ❏ Make a pull request ❏ Wait for your PR to get merged with the label “hacktoberfest- accepted”.
  • 17. A Note To Remember ● While searching for an issue to solve, you will find that some of them already have assignees. This means that someone has already been assigned to solve the issue mentioned. ● If that is the case, try finding another issue which does not have any assignees and you can either ask the maintainer to assign you the task or you can make a pull request and link it to that particular issue.