SlideShare a Scribd company logo
GIT Basic


       Why use GIT?
         saif shobuz
http://ahmsaiful.wordpress.com
Key Points
•
•
    Free and open source, a SCM like Subversion, CVS, Perforce, ClearCase


•
    Distributed version control system


•
    Cheap local branching


•
    Staging areas
    Companies & Projects using git: Linux kernel, Google, Microsoft, LinkedIn,
    PostgreSQL, Android, Ruby on Rails, eclipse
Branching & Merging:

•   Apart from other SCM is its branching model
•   Multiple local branches: create/merge/delete take
    seconds
•   Context Switching, Role based branches.
Small and First

•   All operations performed locally give it a huge speed
•   Was built to work on the Linux kernel, handled large
    repos from day 1
•   Written in C, reducing the overhead of runtimes
    associated with higher level lang
•   Speed & performance was primary goal when building
    git
•   it is one or two orders of magnitude faster than SVN
•   One place where git is slower in the initial clone
    operation, because git downloads the entire history
    rather than the latest version.
Distributed

•   Multiple backups
•   Won’t allow you to push if someone pushed meantime
•   Integration Manager
•   Dictator and Lieutenants Workflow
Data Assurance

•   Every file and commit is checksummed, it’s impossible
    to get anything out of git other than the exact bits you
    put in.
•   Impossible to change any file/date/commit
Staging Area

•   Intermediate stage where commit can be formatted and
    reviewed before completing.
•   Git commit ‘-a’ to avoid it.
Free and open source


More Dig:
•   http://try.github.com
•   http://git-scm.com/book/en/Git-Basics
•   http://ndpsoftware.com/git-cheatsheet.html
•   https://github.com/ (for online shared repos)

More Related Content

What's hot (20)

PPTX
Git tutorial git branches 20131206-Bryan
LearningTech
 
PPTX
Introduction to git
Ram0603
 
PDF
Learning Git
Thomas_Bennett
 
PPTX
CI/CD with Bitbucket pipelines
Theophilus Omoregbee
 
PDF
Introduction to Git
Thomas_Bennett
 
PPTX
1 git-overview
ahmadezzeir
 
PPTX
Introduction to git administration
Shawn Doyle
 
PDF
Why Git Sucks and you'll use it anyways
Carlos Taborda
 
PPTX
Bitbucket pipelines
Hoffman Lab
 
PPTX
BitBucket presentation
Jonathan Lawerh
 
PPTX
Davinci git brown_bag
Jason Noble
 
PDF
Git and GitHub workflows
Arthur Shvetsov
 
PDF
Introduction to git
Sameera Wijesekara
 
PDF
Git for folk who like GUIs
Tim Osborn
 
PDF
Vincit Teatime 2015.2 - Niko Kurtti: SaaSiin pa(i)nostusta
VincitOy
 
PDF
Introduction to OpenFaas
GDG Cloud Bengaluru
 
PPTX
Docker CI at ANZ
Gede Suparsa
 
PDF
TDC 2018 - Trilha .NET - Message broker azure service bus e azure functions
Rafael Cruz, MCT, MBA
 
PPTX
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
PDF
Pydata 2020 containers meetup
Walid Shaari
 
Git tutorial git branches 20131206-Bryan
LearningTech
 
Introduction to git
Ram0603
 
Learning Git
Thomas_Bennett
 
CI/CD with Bitbucket pipelines
Theophilus Omoregbee
 
Introduction to Git
Thomas_Bennett
 
1 git-overview
ahmadezzeir
 
Introduction to git administration
Shawn Doyle
 
Why Git Sucks and you'll use it anyways
Carlos Taborda
 
Bitbucket pipelines
Hoffman Lab
 
BitBucket presentation
Jonathan Lawerh
 
Davinci git brown_bag
Jason Noble
 
Git and GitHub workflows
Arthur Shvetsov
 
Introduction to git
Sameera Wijesekara
 
Git for folk who like GUIs
Tim Osborn
 
Vincit Teatime 2015.2 - Niko Kurtti: SaaSiin pa(i)nostusta
VincitOy
 
Introduction to OpenFaas
GDG Cloud Bengaluru
 
Docker CI at ANZ
Gede Suparsa
 
TDC 2018 - Trilha .NET - Message broker azure service bus e azure functions
Rafael Cruz, MCT, MBA
 
Learn Git - For Beginners and Intermediate levels
Gorav Singal
 
Pydata 2020 containers meetup
Walid Shaari
 

Similar to Git basic (20)

PDF
Git SVN Migrate Reasons
Ovidiu Dimulescu
 
PPT
Introduction to git
Nguyen Van Hung
 
PPTX
git Technologies
Hirantha Pradeep
 
PDF
O365Con18 - Git and GitHub - Rick van Rousselt
NCCOMMS
 
KEY
Git with bitbucket
Sumin Byeon
 
PDF
Git for Windows
Ovidiu Dimulescu
 
PPTX
Que nos espera a los ALM Dudes para el 2013?
Bruno Capuano
 
PDF
Using Git with Rational Team Concert and Rational ClearCase in enterprise env...
Bartosz Chrabski
 
PPTX
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
KEY
Make It Cooler: Using Decentralized Version Control
indiver
 
PPTX
Git version control and trunk based approach with VSTS
Murughan Palaniachari
 
PPT
Git Heaven with Wakanda
Juergen Fesslmeier
 
PDF
Working with Git
Tony Hillerson
 
PPT
Git installation and configuration
Kishor Kumar
 
PPTX
GIT In Detail
Haitham Raik
 
PDF
Git Tutorial I
Jim Yeh
 
PPTX
Essential git for developers
Aidan Casey
 
PPTX
Git tips and tricks
Chris Ballance
 
PDF
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Ahmed El-Arabawy
 
Git SVN Migrate Reasons
Ovidiu Dimulescu
 
Introduction to git
Nguyen Van Hung
 
git Technologies
Hirantha Pradeep
 
O365Con18 - Git and GitHub - Rick van Rousselt
NCCOMMS
 
Git with bitbucket
Sumin Byeon
 
Git for Windows
Ovidiu Dimulescu
 
Que nos espera a los ALM Dudes para el 2013?
Bruno Capuano
 
Using Git with Rational Team Concert and Rational ClearCase in enterprise env...
Bartosz Chrabski
 
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Make It Cooler: Using Decentralized Version Control
indiver
 
Git version control and trunk based approach with VSTS
Murughan Palaniachari
 
Git Heaven with Wakanda
Juergen Fesslmeier
 
Working with Git
Tony Hillerson
 
Git installation and configuration
Kishor Kumar
 
GIT In Detail
Haitham Raik
 
Git Tutorial I
Jim Yeh
 
Essential git for developers
Aidan Casey
 
Git tips and tricks
Chris Ballance
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Ahmed El-Arabawy
 
Ad

Recently uploaded (20)

PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Complete Network Protection with Real-Time Security
L4RGINDIA
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Complete Network Protection with Real-Time Security
L4RGINDIA
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
July Patch Tuesday
Ivanti
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Ad

Git basic

  • 1. GIT Basic Why use GIT? saif shobuz http://ahmsaiful.wordpress.com
  • 2. Key Points • • Free and open source, a SCM like Subversion, CVS, Perforce, ClearCase • Distributed version control system • Cheap local branching • Staging areas Companies & Projects using git: Linux kernel, Google, Microsoft, LinkedIn, PostgreSQL, Android, Ruby on Rails, eclipse
  • 3. Branching & Merging: • Apart from other SCM is its branching model • Multiple local branches: create/merge/delete take seconds • Context Switching, Role based branches.
  • 4. Small and First • All operations performed locally give it a huge speed • Was built to work on the Linux kernel, handled large repos from day 1 • Written in C, reducing the overhead of runtimes associated with higher level lang • Speed & performance was primary goal when building git • it is one or two orders of magnitude faster than SVN • One place where git is slower in the initial clone operation, because git downloads the entire history rather than the latest version.
  • 5. Distributed • Multiple backups • Won’t allow you to push if someone pushed meantime • Integration Manager • Dictator and Lieutenants Workflow
  • 6. Data Assurance • Every file and commit is checksummed, it’s impossible to get anything out of git other than the exact bits you put in. • Impossible to change any file/date/commit
  • 7. Staging Area • Intermediate stage where commit can be formatted and reviewed before completing. • Git commit ‘-a’ to avoid it.
  • 8. Free and open source More Dig: • http://try.github.com • http://git-scm.com/book/en/Git-Basics • http://ndpsoftware.com/git-cheatsheet.html • https://github.com/ (for online shared repos)