SlideShare a Scribd company logo
A Brief History of Git 
Author: Mayank Jani, Ruby on Rails Developer,​ ​Codal Inc. 
 
 
 
 
Git​ is a distributed version control system which places emphasis on speed and efficiency. Git 
was developed by Linux kernel developers in 2005. 
 
In 2002, the Linux kernel community worked with BitKeeper, a distributed version control system 
(DVCS) that predated GIT. In 2005, however, the relationship between the Linux kernel 
community and BitKeeper began to suffer. As a result of this roadblock, the community began 
development on their own DVCS, Git.  
 
Features: 
Git is free & open source, small & fast, and distributed. It supports such branching & merging, 
data assurance, staging area, large project handling, high speed, support for non linear 
development, simple design, etc. 
 
Supported Operating Systems: 
Git is mainly developed on Linux operating system, but right now it is also supported on MAC 
OS X, Windows, CentOS, POSIX, BSD and Solaris. 
 
The following companies and projects using Git: 
Rails, Facebook, Google, Twitter, Android, Microsoft, Netflix, Linkedin, PostgreSQL, Linux, 
Gnome, eclipse, perl, Qt, KDE, xserver. 
 
Installing on Linux (Ubuntu): 
$ sudo apt­get install git­all 
 
   
Codal Inc 
UX Design & Apps Development Agency 
www.codal.com  
Installing from source: 
$ sudo apt­get install libcurl4­gnutls­dev libexpat1­dev gettext libz­dev libssl­dev 
 
Command Line: 
There are many ways to use Git for your projects. Originally, Git was used on command line 
tools. There are lots of GUIs tools available on the market. If you know how to run Git 
commands on the command line, you will likely be better off, and while it is very easy to use GUI 
tools, the opposite is not always true. 
 
Git Repository: 
Git can used as a server. Git server softwares (e.g. Github) helps out of the box like add access 
control, display contents of Git repository via the web and help to maintain multiple Git 
repositories. 
 
There are two main approaches to starting a Git project: 
1. Takes an existing project (repository) and imports it into Git. 
2. Clones an existing Git repository (project) from another server. 
 
Initializing a project (repository) in an existing directory­ 
$ git init 
This will create a new directory (at project root directory) named ​.git​ that contains all useful 
repository files and folders. Nothing is tracked yet. 
 
If you want to start version controlling, you need to set up file tracking and an initial commit. You 
can do this with the following commands: 
$ git add .  # adds all files on staging area 
$ git commit ­m “initial commit”   # stage the changes on repository 
 
 
 
Cloning an existing project (repository)­ 
If you want to clone an existing Git repository, you can use git clone command. 
git clone [url] where url is the url that you wish to clone. 
 
Codal Inc 
UX Design & Apps Development Agency 
www.codal.com  
$ git clone https://github.com/example/example 
 
It will create ‘example’ directory, initialize .git directory, pulls down all the files & folders of that 
repository and check a working copy of the latest version. If you want to clone the above 
repository into a directory named ‘sampleapp’, instead of ‘example’ directory, you have to 
mention it with the command line option: 
 
$ git clone https://github.com/example/example sampleapp 
This command will act same as above but target directory is different, called ‘sampleapp’. 
 
Git has a number of transfer protocols like https://, git:// and SSH transfer protocol. 
 
Github: 
Github​ is a hosting service which manages Git repositories. 
Github combines the distributed version control and source 
code management (SCM) functionality of Git with some extra 
features. Git is available only as a command line tool, while 
Github is available both as a GUI tool and as desktop 
packages or mobile apps. Github offers both private and 
public repositories. 
 
Github has the following features: 
● Issue tracking 
● Tasks management 
● Commits history 
● Wikis 
● Graphs 
 
After cloning, you can see remote server by: 
$ git remote ­v   
 
If you need to distribute your project (repository), you need to push that project to github. If we 
need to push master branch to your git repository on github (origin server), use the following 
command: 
$ git push origin master 
 
Conclusion: 
Git is highly used in the market as a distributed version control system. Many well known 
companies are using Git for managing their big projects for version controlling. One main reason 
that Git is popular is because of Github. 
Codal Inc 
UX Design & Apps Development Agency 
www.codal.com  

More Related Content

Viewers also liked

Question 3
Question 3Question 3
Question 3
dstamp
 
Declaración jurada de Javier Tineo
Declaración jurada de Javier TineoDeclaración jurada de Javier Tineo
Declaración jurada de Javier Tineo
Eduardo Nelson German
 
Ensayo
EnsayoEnsayo
Assessing Skills: Aspire champ magazine Issue 12 March 2016
Assessing Skills: Aspire champ magazine Issue 12 March 2016Assessing Skills: Aspire champ magazine Issue 12 March 2016
Assessing Skills: Aspire champ magazine Issue 12 March 2016
Luke Gallagher
 
Tossina botulinica: indicazioni, risultati e limiti
Tossina botulinica: indicazioni, risultati e limiti Tossina botulinica: indicazioni, risultati e limiti
Tossina botulinica: indicazioni, risultati e limiti
GLUP2010
 
Virus informaticos
Virus informaticosVirus informaticos
Virus informaticos
Candy Flores
 
Survey of labour
Survey of labourSurvey of labour
Survey of labour
Anchan Chantaworralak
 
CV_Frank de Graaf_RHDHV-UK 2016
CV_Frank de Graaf_RHDHV-UK 2016CV_Frank de Graaf_RHDHV-UK 2016
CV_Frank de Graaf_RHDHV-UK 2016Frank de Graaf
 
Trabajo yd40
Trabajo yd40Trabajo yd40
Trabajo yd40
Eric Bernales Campos
 
Digital Review March 2016
Digital Review March 2016Digital Review March 2016
Digital Review March 2016
BAM Strategy
 
Object Relational Database Management System
Object Relational Database Management SystemObject Relational Database Management System
Object Relational Database Management System
Amar Myana
 
Dsp ramesh babu
Dsp ramesh babuDsp ramesh babu
Dsp ramesh babu
Jasspreet Jasspreet
 

Viewers also liked (12)

Question 3
Question 3Question 3
Question 3
 
Declaración jurada de Javier Tineo
Declaración jurada de Javier TineoDeclaración jurada de Javier Tineo
Declaración jurada de Javier Tineo
 
Ensayo
EnsayoEnsayo
Ensayo
 
Assessing Skills: Aspire champ magazine Issue 12 March 2016
Assessing Skills: Aspire champ magazine Issue 12 March 2016Assessing Skills: Aspire champ magazine Issue 12 March 2016
Assessing Skills: Aspire champ magazine Issue 12 March 2016
 
Tossina botulinica: indicazioni, risultati e limiti
Tossina botulinica: indicazioni, risultati e limiti Tossina botulinica: indicazioni, risultati e limiti
Tossina botulinica: indicazioni, risultati e limiti
 
Virus informaticos
Virus informaticosVirus informaticos
Virus informaticos
 
Survey of labour
Survey of labourSurvey of labour
Survey of labour
 
CV_Frank de Graaf_RHDHV-UK 2016
CV_Frank de Graaf_RHDHV-UK 2016CV_Frank de Graaf_RHDHV-UK 2016
CV_Frank de Graaf_RHDHV-UK 2016
 
Trabajo yd40
Trabajo yd40Trabajo yd40
Trabajo yd40
 
Digital Review March 2016
Digital Review March 2016Digital Review March 2016
Digital Review March 2016
 
Object Relational Database Management System
Object Relational Database Management SystemObject Relational Database Management System
Object Relational Database Management System
 
Dsp ramesh babu
Dsp ramesh babuDsp ramesh babu
Dsp ramesh babu
 

Similar to A Brief History of Git

Basics About Git & GitHub
Basics About Git & GitHubBasics About Git & GitHub
Basics About Git & GitHubRaiful Hasan
 
[Perforce] Git Fusion
[Perforce] Git Fusion[Perforce] Git Fusion
[Perforce] Git Fusion
Perforce
 
Git SCM
Git SCMGit SCM
Effective Development With Eclipse Mylyn, Git, Gerrit and Hudson
Effective Development With Eclipse Mylyn, Git, Gerrit and HudsonEffective Development With Eclipse Mylyn, Git, Gerrit and Hudson
Effective Development With Eclipse Mylyn, Git, Gerrit and Hudson
Chris Aniszczyk
 
Eminence team
Eminence teamEminence team
Eminence teamVivin NL
 
Git Gerrit Mit Teamforge
Git Gerrit Mit TeamforgeGit Gerrit Mit Teamforge
Git Gerrit Mit TeamforgeCollabNet
 
Flux is incubating + the road ahead
Flux is incubating + the road aheadFlux is incubating + the road ahead
Flux is incubating + the road ahead
LibbySchulze
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Suhas Shivaram
 
Git and GitHub.pptx
Git and GitHub.pptxGit and GitHub.pptx
Git and GitHub.pptx
kelashraisal052
 
Discover the Linux on z Systems Effect
Discover the Linux on z Systems EffectDiscover the Linux on z Systems Effect
Discover the Linux on z Systems Effect
IBM
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Qualcomm Developer Network
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?
GrapesTech Solutions
 
Introduction to git and stash
Introduction to git and stashIntroduction to git and stash
Introduction to git and stashXpand IT
 
DX, Guardrails, Golden Paths & Policy in Kubernetes
DX, Guardrails, Golden Paths & Policy in KubernetesDX, Guardrails, Golden Paths & Policy in Kubernetes
DX, Guardrails, Golden Paths & Policy in Kubernetes
Weaveworks
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
Chen-Tien Tsai
 
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for YouWebinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Weaveworks
 
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Altinity Ltd
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Ovidiu Dimulescu
 

Similar to A Brief History of Git (20)

Git version control
Git version controlGit version control
Git version control
 
Basics About Git & GitHub
Basics About Git & GitHubBasics About Git & GitHub
Basics About Git & GitHub
 
[Perforce] Git Fusion
[Perforce] Git Fusion[Perforce] Git Fusion
[Perforce] Git Fusion
 
Git SCM
Git SCMGit SCM
Git SCM
 
Effective Development With Eclipse Mylyn, Git, Gerrit and Hudson
Effective Development With Eclipse Mylyn, Git, Gerrit and HudsonEffective Development With Eclipse Mylyn, Git, Gerrit and Hudson
Effective Development With Eclipse Mylyn, Git, Gerrit and Hudson
 
Eminence team
Eminence teamEminence team
Eminence team
 
Git Gerrit Mit Teamforge
Git Gerrit Mit TeamforgeGit Gerrit Mit Teamforge
Git Gerrit Mit Teamforge
 
Flux is incubating + the road ahead
Flux is incubating + the road aheadFlux is incubating + the road ahead
Flux is incubating + the road ahead
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Git and GitHub.pptx
Git and GitHub.pptxGit and GitHub.pptx
Git and GitHub.pptx
 
Discover the Linux on z Systems Effect
Discover the Linux on z Systems EffectDiscover the Linux on z Systems Effect
Discover the Linux on z Systems Effect
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?
 
Introduction to git and stash
Introduction to git and stashIntroduction to git and stash
Introduction to git and stash
 
DX, Guardrails, Golden Paths & Policy in Kubernetes
DX, Guardrails, Golden Paths & Policy in KubernetesDX, Guardrails, Golden Paths & Policy in Kubernetes
DX, Guardrails, Golden Paths & Policy in Kubernetes
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for YouWebinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
 
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
Building High Performance Apps with Altinity Stable Builds for ClickHouse | A...
 
Git session 1
Git session 1Git session 1
Git session 1
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 

Recently uploaded

BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
Himani415946
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
ShahulHameed54211
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
TristanJasperRamos
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 

Recently uploaded (16)

BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 

A Brief History of Git