SlideShare a Scribd company logo
1 of 19
Introduction to Git
In the next few slides you will learn more
about git, git workflow, VCS, GitHub and its
basics.
Things to keep in mind
Before we start, check this out :-
1. “There is always a person in a room who knows more
than you. I rather be that guy” - Person
2. We will make a new friend, it is called Google.
3. Don’t rush, take it slow. Understand each step.
CRYSTAL.
4. Ask silly questions. People who ask questions. Self
understanding is important.
5. If I am going fast, Be responsible and tell me yourself.
Don’t wait for others.
VCS
(Version Control
System)
What does VCS do for you ?
● Keeps track of your work and output of
your work that is your code.
● Keeps tracks of exactly what is changed.
● Keeps tracks of who makes those changes.
● Keeps tracks of why the changes were
made.
● Every real project you will ever make will
be build using these platforms only.
Examples of VCS
SVN - Subversion
Examples of VCS
Mercurial - tuned for performance
Examples of VCS
CVN - Grandfather of all
Examples of VCS
git - Modern, popular and the
one you are going to learn
git --distributed-even-if-your-workflow-isnt
It is a type of VCS where you can modify code
without actually overwriting anything, collaborate
and work easily. With seperate workflows using
branches.
GitHub
It is code hosting platform for version control
and collaboration. It lets you and others work
together on projects from anywhere and
harness the true power of git.
You sold. Anyone
wants to leave.
Now is the time.
1. Start GitHub tutorial
2. Login to your GitHub account
3. FORK this repo http://tiny.cc/vanilla
4. git clone <upstreamRepoURL> vanilla
5. End Github Tutorial
http://tiny.cc/noshit
http://tiny.cc/jainpost
http://tiny.cc/gotvideo
1. Start Git Tutorial
2. $ git config --global user.name "John Doe"
3. $ git config --global user.email johndoe@example.com
4. git init - Initialize a directory for git - Try in your cloned directory
5. git add - Snapshot 1.txt >> Snapshot 2.txt
6. git status - After Snapshot 2.txt is saved
7. git commit - Commit Snapshot 2.txt
8. git status - again
9. git log - check your log
10. Change something in Snapshot 2.txt
11. git diff
12. Repeat the same from step 5
13. 3 times
14. git remote -v
15. git add remote upstream www.github.com/vipulgupta2048/vanilla
16. Git push origin master
1. Links for more information.
2. How to progress.
3. How to find new projects.
4. How to do new things.
5. How github is used by teams and
meetup groups to collaborate and
work together.
https://git-scm.com/book/en/v1/Getting-Started-About-
Version-Control
https://www.joshmatthews.net/bugsahoy/
https://github.com/coding-blocks
https://github.com/ILUGD/
https://github.com/asetalias/
http://lym.readthedocs.io/en/latest/
http://sethrobertson.github.io/GitFixUm/fixup.html
Stack Overflow
Documentation - Read.the.docs. _RTFD_
https://try.github.io
http://www-cs-
students.stanford.edu/~blynn/gitmagic/index.html
https://www.atlassian.com/git/tutorials/using-branches
https://github.com/Roshanjossey/first-contributions
http://ohshitgit.com/
https://github.com/Roshanjossey/first-
contributions/blob/master/additional-material/Useful-links-
for-further-learning.md
Alternatives to GitHub if you
are crazy enough to try
1. Gitlab(in some ways better than
even GitHub)
2. Bitbucket
3. Microsoft Visual
Studio Team Services
4. CloudForge
5. Openforge - Indian
“Learn 3 things in life. Git, a
programming language and how
to speak in public.”
- Anuvrat Parashar
Any questions??
Return 0;
Feedback
Thanks !!
Vipul Gupta
B.Tech, 2nd year,
Amity University
Core ALiAS member, blogger,
Linux enthusiast and sometimes sarcastic.
www.mixstersite.wordpress.com
@vipulgupta2048
[GitHub, Facebook, LinkedIn, Gmail]

More Related Content

What's hot

Learning GitHub Part 3
Learning GitHub Part 3Learning GitHub Part 3
Learning GitHub Part 3Lynn Langit
 
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughsWorkshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughsDavid Lawrence
 
Learning GitHub Part 2
Learning GitHub Part 2Learning GitHub Part 2
Learning GitHub Part 2Lynn Langit
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to GitConFoo
 
Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1Lynn Langit
 
Web Programming - Git basics
Web Programming - Git basicsWeb Programming - Git basics
Web Programming - Git basicsÖmer Taşkın
 
GIT - DUG Antwerp
GIT - DUG AntwerpGIT - DUG Antwerp
GIT - DUG AntwerpKrimson
 
Git isthenewsexy
Git isthenewsexyGit isthenewsexy
Git isthenewsexyAilsa126
 
Learning GitHub Part 4
Learning GitHub Part 4Learning GitHub Part 4
Learning GitHub Part 4Lynn Langit
 
镐京入场培训.Key
镐京入场培训.Key镐京入场培训.Key
镐京入场培训.KeyBean Tsang
 
Introducing Git to your FTP workflow
Introducing Git to your FTP workflow Introducing Git to your FTP workflow
Introducing Git to your FTP workflow Roman Rus
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control SystemKMS Technology
 
Git hooks for front end developers
Git hooks for front end developersGit hooks for front end developers
Git hooks for front end developersBradley Gore
 
Introduction to Git for Artists
Introduction to Git for ArtistsIntroduction to Git for Artists
Introduction to Git for ArtistsDavid Newbury
 
Version control system & how to use git
Version control system & how to use git Version control system & how to use git
Version control system & how to use git Ahmed Dalatony
 

What's hot (20)

Git basics
Git basicsGit basics
Git basics
 
Learning GitHub Part 3
Learning GitHub Part 3Learning GitHub Part 3
Learning GitHub Part 3
 
Workshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughsWorkshop on Source control, git merge walkthroughs
Workshop on Source control, git merge walkthroughs
 
Learning GitHub Part 2
Learning GitHub Part 2Learning GitHub Part 2
Learning GitHub Part 2
 
Let's git it on
Let's git it onLet's git it on
Let's git it on
 
Pragmatic Guide to Git
Pragmatic Guide to GitPragmatic Guide to Git
Pragmatic Guide to Git
 
Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1
 
Web Programming - Git basics
Web Programming - Git basicsWeb Programming - Git basics
Web Programming - Git basics
 
GIT - DUG Antwerp
GIT - DUG AntwerpGIT - DUG Antwerp
GIT - DUG Antwerp
 
Git isthenewsexy
Git isthenewsexyGit isthenewsexy
Git isthenewsexy
 
Learning GitHub Part 4
Learning GitHub Part 4Learning GitHub Part 4
Learning GitHub Part 4
 
镐京入场培训.Key
镐京入场培训.Key镐京入场培训.Key
镐京入场培训.Key
 
Introducing Git to your FTP workflow
Introducing Git to your FTP workflow Introducing Git to your FTP workflow
Introducing Git to your FTP workflow
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
 
Git: a representation
Git: a representationGit: a representation
Git: a representation
 
Git hooks for front end developers
Git hooks for front end developersGit hooks for front end developers
Git hooks for front end developers
 
Git hooks
Git hooksGit hooks
Git hooks
 
Presentacion git
Presentacion gitPresentacion git
Presentacion git
 
Introduction to Git for Artists
Introduction to Git for ArtistsIntroduction to Git for Artists
Introduction to Git for Artists
 
Version control system & how to use git
Version control system & how to use git Version control system & how to use git
Version control system & how to use git
 

Similar to Hello git - a soft introduction to git (Talk Slides)

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 in gear: How to track changes, travel back in time, and code nicely with ...
Git in gear: How to track changes, travel back in time, and code nicely with ...Git in gear: How to track changes, travel back in time, and code nicely with ...
Git in gear: How to track changes, travel back in time, and code nicely with ...fureigh
 
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 GitHubKim Moir
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticlePRIYATHAMDARISI
 
How to configure a Git repository and push to a remote repository…
How to configure a Git repository and push to a remote repository…How to configure a Git repository and push to a remote repository…
How to configure a Git repository and push to a remote repository…Wilson Govindji
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How tolanhuonga3
 
Introduction to Git for Non-Developers
Introduction to Git for Non-DevelopersIntroduction to Git for Non-Developers
Introduction to Git for Non-DevelopersAll Things Open
 

Similar to Hello git - a soft introduction to git (Talk Slides) (20)

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
 
Git in gear: How to track changes, travel back in time, and code nicely with ...
Git in gear: How to track changes, travel back in time, and code nicely with ...Git in gear: How to track changes, travel back in time, and code nicely with ...
Git in gear: How to track changes, travel back in time, and code nicely with ...
 
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
 
Git training
Git trainingGit training
Git training
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git and Github workshop
Git and Github workshopGit and Github workshop
Git and Github workshop
 
16 Git
16 Git16 Git
16 Git
 
Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 
git and github
git and githubgit and github
git and github
 
How to configure a Git repository and push to a remote repository…
How to configure a Git repository and push to a remote repository…How to configure a Git repository and push to a remote repository…
How to configure a Git repository and push to a remote repository…
 
Git It
Git ItGit It
Git It
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Demo
DemoDemo
Demo
 
Git 101
Git 101Git 101
Git 101
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How to
 
How to use git without rage
How to use git without rageHow to use git without rage
How to use git without rage
 
git2.ppt
git2.pptgit2.ppt
git2.ppt
 
Introduction to Git for Non-Developers
Introduction to Git for Non-DevelopersIntroduction to Git for Non-Developers
Introduction to Git for Non-Developers
 

More from Amity University Noida

More from Amity University Noida (6)

Impossible Pictures
Impossible PicturesImpossible Pictures
Impossible Pictures
 
Greenhouse Effect and Global Carbon Footprint
Greenhouse Effect and Global Carbon FootprintGreenhouse Effect and Global Carbon Footprint
Greenhouse Effect and Global Carbon Footprint
 
The definitive presentation on Black Holes (School Level)
The definitive presentation on Black Holes (School Level)The definitive presentation on Black Holes (School Level)
The definitive presentation on Black Holes (School Level)
 
Sustainable Development 2018
Sustainable Development 2018Sustainable Development 2018
Sustainable Development 2018
 
Faith, Belief and Environment
Faith, Belief and EnvironmentFaith, Belief and Environment
Faith, Belief and Environment
 
Unix and Linux - The simple introduction
Unix and Linux - The simple introductionUnix and Linux - The simple introduction
Unix and Linux - The simple introduction
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Hello git - a soft introduction to git (Talk Slides)

  • 1. Introduction to Git In the next few slides you will learn more about git, git workflow, VCS, GitHub and its basics.
  • 2. Things to keep in mind Before we start, check this out :- 1. “There is always a person in a room who knows more than you. I rather be that guy” - Person 2. We will make a new friend, it is called Google. 3. Don’t rush, take it slow. Understand each step. CRYSTAL. 4. Ask silly questions. People who ask questions. Self understanding is important. 5. If I am going fast, Be responsible and tell me yourself. Don’t wait for others.
  • 4. What does VCS do for you ? ● Keeps track of your work and output of your work that is your code. ● Keeps tracks of exactly what is changed. ● Keeps tracks of who makes those changes. ● Keeps tracks of why the changes were made. ● Every real project you will ever make will be build using these platforms only.
  • 5. Examples of VCS SVN - Subversion
  • 6. Examples of VCS Mercurial - tuned for performance
  • 7. Examples of VCS CVN - Grandfather of all
  • 8. Examples of VCS git - Modern, popular and the one you are going to learn
  • 9. git --distributed-even-if-your-workflow-isnt It is a type of VCS where you can modify code without actually overwriting anything, collaborate and work easily. With seperate workflows using branches. GitHub It is code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere and harness the true power of git.
  • 10. You sold. Anyone wants to leave. Now is the time.
  • 11. 1. Start GitHub tutorial 2. Login to your GitHub account 3. FORK this repo http://tiny.cc/vanilla 4. git clone <upstreamRepoURL> vanilla 5. End Github Tutorial http://tiny.cc/noshit http://tiny.cc/jainpost http://tiny.cc/gotvideo
  • 12. 1. Start Git Tutorial 2. $ git config --global user.name "John Doe" 3. $ git config --global user.email johndoe@example.com 4. git init - Initialize a directory for git - Try in your cloned directory 5. git add - Snapshot 1.txt >> Snapshot 2.txt 6. git status - After Snapshot 2.txt is saved 7. git commit - Commit Snapshot 2.txt 8. git status - again 9. git log - check your log 10. Change something in Snapshot 2.txt 11. git diff 12. Repeat the same from step 5 13. 3 times 14. git remote -v 15. git add remote upstream www.github.com/vipulgupta2048/vanilla 16. Git push origin master
  • 13.
  • 14. 1. Links for more information. 2. How to progress. 3. How to find new projects. 4. How to do new things. 5. How github is used by teams and meetup groups to collaborate and work together.
  • 15. https://git-scm.com/book/en/v1/Getting-Started-About- Version-Control https://www.joshmatthews.net/bugsahoy/ https://github.com/coding-blocks https://github.com/ILUGD/ https://github.com/asetalias/ http://lym.readthedocs.io/en/latest/ http://sethrobertson.github.io/GitFixUm/fixup.html Stack Overflow Documentation - Read.the.docs. _RTFD_ https://try.github.io http://www-cs- students.stanford.edu/~blynn/gitmagic/index.html https://www.atlassian.com/git/tutorials/using-branches https://github.com/Roshanjossey/first-contributions http://ohshitgit.com/ https://github.com/Roshanjossey/first- contributions/blob/master/additional-material/Useful-links- for-further-learning.md
  • 16. Alternatives to GitHub if you are crazy enough to try 1. Gitlab(in some ways better than even GitHub) 2. Bitbucket 3. Microsoft Visual Studio Team Services 4. CloudForge 5. Openforge - Indian
  • 17. “Learn 3 things in life. Git, a programming language and how to speak in public.” - Anuvrat Parashar
  • 19. Thanks !! Vipul Gupta B.Tech, 2nd year, Amity University Core ALiAS member, blogger, Linux enthusiast and sometimes sarcastic. www.mixstersite.wordpress.com @vipulgupta2048 [GitHub, Facebook, LinkedIn, Gmail]

Editor's Notes

  1. I don’t consider myself to be the expert.
  2. *- *Chapter 1: Understanding VCS: Commits* [13:45] <sayan> *- Next day morning you start reading VCS, scratching your head to get around with all the terms [13:46] <sayan> *- The first one that you hit is commits, so what is commit (or snapshot?) [13:47] <sayan> *- So you thought of writing a series analogy stories to learn the concepts better :) [13:47] <sayan> *- You create a new character, Tux [13:47] <sayan> *- Tux wants to be photographer, who has just bought a new DSLR. [13:48] <sayan> *- Tux plan to be the next travel photographer, who would take the best picture from the top of Mt. Everest [13:49] <sayan> *- But Tux is a newbie, so Tux starts watching for YouTube tutorials for learning to post process the images. [13:49] <sayan> *- Tux creates a directory named *working* to put all un-processed images. <<-- mind *working* is to be focused here [13:50] <sayan> *- Then, fires up DarkTable to process the images. [13:50] <sayan> *- Every time after a set of similar operations (like crop & rotate, shadows & highlights, etc), Tux creates a copy of the *working* directory and names it `snapshot-{n}` [13:51] <sayan> *- After a couple of operations, Tux stands having "snapshot-1", "snapshot-2", "snapshot-3", .... , "snapshot-100" directories. [13:52] <sayan> *- This directories is history of how Tux developed the image over time. At any point, Tux can go back to a given snapshot and build again on top of it. Git is version control software, which means it manages changes to a project without overwriting any part of that project. And it’s not going away anytime soon, particularly since Torvalds and his fellow kernel developers employ Git to help develop the core kernel for Linux. Why use something like Git? Say you and a coworker are both updating pages on the same website. You make your changes, save them, and upload them back to the website. So far, so good. The problem comes when your coworker is working on the same page as you at the same time. One of you is about to have your work overwritten and erased. A version control application like Git keeps that from happening. You and your coworker can each upload your revisions to the same page, and Git will save two copies. Later, you can merge your changes together without losing any work along the way. You can even revert to an earlier version at any time, because Git keeps a “snapshot” of every change ever made. The problem with Git is that it’s so ancient that we have to use the command line—or Terminal if you’re a Mac user—in order to access it, typing in snippets of code like ‘90s hackers. This can be a difficult proposition for modern computer users. That’s where GitHub comes in.
  3. *- *Chapter 2: Understanding VCS: Staging Area* [13:55] <sayan> *- It's been a month now, Tux have learned a lot on post-processing images. [13:55] <sayan> *- Tux now mixes and matches multiple images file to create a snapshot directory. [13:56] <sayan> *- One day, Tux while processing the images, goes into experimental mode. [13:56] <sayan> *- and only after a while realized that the changes should be going into two [13:57] <sayan> *- different snapshot directories (`snapshot-139` & `snapshot-140`). [13:57] <sayan> *- Smart Tux quickly thought of an idea, creates a new staging directory. [13:58] <sayan> *- A staging directory works as an intermediate between the working directory [13:58] <sayan> *- and the snapshot directory. [13:58] <sayan> *- So, Tux now works on working directory, and one Tux is happy with the changes [13:59] <sayan> *- Tux moves all changed files into staging directory, and then creates a copy of the staging directory as new snapshot directory