SlideShare a Scribd company logo
Let’s GIT to it!
Introduction to git & branching models
Yoram Michaeli
<yorammi@tikalk.com>
FullStack Developers Israel
14.5.2014
Tikal, Tel-Aviv
Hosted by:
Before you GIT it...
What is GIT?
What is GIT?
● GIT is a distributed revision controlled
source code management system (DVCS)
● GIT were created, designed and developed
by Linus Torvalds (the creator of Linux) for
Linux kernel development
(See Linus Torvalds in YouTube)
● Official GIT site: http://git-scm.com
Why use GIT?
Why use GIT?There are many other SCM/SVCS systems out there...
● GIT is fast
● GIT has no need for network connection -
for most operations
● GIT is a great merge and branching tool
● GIT is a modern tool
● GIT have a very large install-base
● GIT encourage developers to commit, which
results with less data lose
GIT is distributed
● There is no single server – each endpoint
contains all the information.
● Usually there is one endpoint that is considered as
the central one but this is not a must.
● The common flow:
o You clone the central repository and/or sync
with its content
o You work offline on your private repository
o You push your local changes into the central
repository
GIT is distributed
GIT is fast
● For most operations you need no network
connection
● Network operations are done very fast using
modern and validated transfer actions
● GIT uses snapshots of the whole repository
instead of the files-and-delta technology
● GIT uses pointers
● GIT is optimized for merge...
GIT is optimized for merge
● GIT is designed for fast and efficient merge
● GIT supports:
o Local merge
o 2 repositories/endpoints merge
o Simultaneously work on the same resource
o Merge is usually done locally before
pushing it to the remote repository so it is
very easy to abort it or revert to the previous
status
Things you must
consider about GIT?
Things you must consider
about GIT
● GIT is not CVS or SVN or any of
those tools
● GIT requires much to learn about it
● GIT command line interface (CLI) is
the most recommended client for it
GIT concepts overview
SVN vs. GIT
GIT commit representation
GIT repositoryThe multiple commit concept
● Each commit store a pointer to the former
(checksum) commit
● The first commit has a null pointer
GIT branchesBasic terms
● branch – a pointer to some commit
● master – the “default” branch
● HEAD – the current branch of the local/remote repository
● origin – the remote repository (usually – the one you have
cloned from)
● origin/master – the master branch (pointer) of the origin
repository
GIT local work
GIT directory
...is where Git stores the metadata and object database for your project
Working directory
...is a single checkout of one version of the project on your disk.
Staging area (Index)
...is a simple snapshot file in your Git directory, that stores information about what will go
into your next commit.
Why staging?
● Gives you the ability to control the content of your next commit
● You can reset changes
● You can 'stash' all changes and work on a new task in the same location
● Once you’re done with your code – for committing - you can:
o Review the differences between working directory and staging
o Review the differences between staging and HEAD
A GIT file life-cycle
GIT basic flow and
operations
GIT basic flow
The common flow
● You clone the central repository and sync with its content:
o git clone <remote repository URL> - cloning the
repository
o git pull origin master - sync with remote repository
● You work offline on your private repository
o git add --all - staging all new and/or removed files
o git commit -m “<comment>” - commit changes
● You push your local changes into the central repository
o git push origin master
GIT common actions & flow
Other GIT common commands
● git clone – clone a repository into a new copy
● git status – show the status of your local repository
● git log – show commit logs
● git diff - show the differences between anything: states, branches
and more
● git branch – perform branch-related actions such as create
branch, list branches and more
● git checkout – switch to work on a certain snapshot (branch, hash,
tag)
● git merge – merge into current working snapshot
● git cherrypick – merge picked commits from branch to branch
Let’s GIT started
● Install GIT (usually from http://git-scm.com)
● Initial GIT global settings
● git config --global user.name “Bill Gates”
● git config --global user.email bill.gates@microsoft.com
● GIT repository initiate:
● mkdir microsoft
● cd microsoft
● git init
or
● GIT clone:
● git clone git@microsoft:acquired-companies/someTool.git
GIT environments
GIT hosting tools and
services
GIT cloud-based hosting services
https://git.wiki.kernel.org/index.php/GitHosting
GIT on-premise hosting tools
http://en.wikipedia.org/wiki/Comparison_of_free_software_hosting_facilities
Detailed guideline for choosing GIT
host service
http://www.slideshare.net/YoramMichaeli/git-hostingservice
GIT client tools
GIT GUI client tools
GIT workflows
(branching models)
Based on Atlassian's 'GIT workflows' excellent introduction!
Centralized Workflow
If your developers are already
comfortable with Subversion, the
Centralized Workflow lets you
experience the benefits of Git
without having to adapt to an
entirely new process. It also
serves as a friendly transition
into more Git-oriented
workflows.
See more...
Feature Branch Workflow
The Feature Branch Workflow
builds on the Centralized
Workflow by encapsulating new
features into dedicated
branches. This enables the use
of pull requests as a means to
discuss changes before they’re
integrated into the official
project.
See more...
Gitflow Workflow
The Gitflow Workflow
streamlines the release cycle
by using isolated branches
for feature development,
release preparation, and
maintenance. Its strict
branching model also lends
some much needed structure
to larger projects.
See more...
GitHub Flow
what is GitHub Flow?
● Anything in the master branch is deployable
● To work on something new, create a descriptively named
branch off of master (ie:new-oauth2-scopes)
● Commit to that branch locally and regularly push your
work to the same named branch on the server
● When you need feedback or help, or you think the branch
is ready for merging, open a pull request
● After someone else has reviewed and signed off on the
feature, you can merge it into master
● Once it is merged and pushed to ‘master’, you can and
should deploy immediately
See more...
Forking Workflow
The Forking Workflow is a
distributed workflow that takes
full advantage of Git’s branching
and cloning capabilities. It
provides a safe, reliable way to
manage large teams of
developers and to accept
commits from untrusted
contributors.
See more...
Pull requests
Pull request (sometimes called
merge request) is a feature that
makes it easier for developers to
collaborate using the hosting
service. It provides a user-
friendly web interface for
discussing proposed changes
before integrating them into the
official project.
See more...
GIT more
Other GIT great starting points
Yoram Michaeli
Email: yorammi@tikalk.com
Tel: +972-52-5766838
Thank You

More Related Content

PDF
Training: Day Two - Eclipse, Git, Maven
Artur Ventura
 
PPTX
Introduction git
Dian Sigit Prastowo
 
PPTX
Introduction to git administration
Shawn Doyle
 
PDF
Brief tutorial on Git
聖文 鄭
 
PPTX
An introduction to Git and GitFlow
Mark Everard
 
PPT
Git training
adm_exoplatform
 
PDF
Git: A Getting Started Presentation
Nap Ramirez
 
PPTX
Git Presentation
Prem Aseem Jain
 
Training: Day Two - Eclipse, Git, Maven
Artur Ventura
 
Introduction git
Dian Sigit Prastowo
 
Introduction to git administration
Shawn Doyle
 
Brief tutorial on Git
聖文 鄭
 
An introduction to Git and GitFlow
Mark Everard
 
Git training
adm_exoplatform
 
Git: A Getting Started Presentation
Nap Ramirez
 
Git Presentation
Prem Aseem Jain
 

What's hot (20)

PDF
From SVN to Git
Sergio Gutierrez-Santos
 
PPTX
Svn vs mercurial vs github
Vinoth Kannan
 
PDF
Git - a powerful version control tool
Kuo-Le Mei
 
ODP
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Per Henrik Lausten
 
PDF
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
Edureka!
 
PDF
Mini git tutorial
Cristian Lucchesi
 
PDF
Git Tutorial I
Jim Yeh
 
PDF
BLUG 2012 Version Control for Notes Developers
Martin Jinoch
 
PDF
Git Introduction Tutorial
Thomas Rausch
 
PDF
Git and github fundamental
Rajesh Kumar
 
PPTX
Git theory
hariprasad1035
 
PDF
Gitlab Training with GIT and SourceTree
Teerapat Khunpech
 
PDF
Git and git hub
Sebastiaan Deckers
 
PDF
Subversion to Git Migration
Manish Chakravarty
 
PDF
Git
Mayank Patel
 
PPT
Git basic
Emran Ul Hadi
 
PDF
Git tutorial
Elli Kanal
 
KEY
The everyday developer's guide to version control with Git
E Carter
 
PPTX
Git One Day Training Notes
glen_a_smith
 
PDF
Git basics for beginners
PravallikaTammisetty
 
From SVN to Git
Sergio Gutierrez-Santos
 
Svn vs mercurial vs github
Vinoth Kannan
 
Git - a powerful version control tool
Kuo-Le Mei
 
Source Control with Domino Designer 8.5.3 and Git (DanNotes, November 28, 2012)
Per Henrik Lausten
 
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
Edureka!
 
Mini git tutorial
Cristian Lucchesi
 
Git Tutorial I
Jim Yeh
 
BLUG 2012 Version Control for Notes Developers
Martin Jinoch
 
Git Introduction Tutorial
Thomas Rausch
 
Git and github fundamental
Rajesh Kumar
 
Git theory
hariprasad1035
 
Gitlab Training with GIT and SourceTree
Teerapat Khunpech
 
Git and git hub
Sebastiaan Deckers
 
Subversion to Git Migration
Manish Chakravarty
 
Git basic
Emran Ul Hadi
 
Git tutorial
Elli Kanal
 
The everyday developer's guide to version control with Git
E Carter
 
Git One Day Training Notes
glen_a_smith
 
Git basics for beginners
PravallikaTammisetty
 
Ad

Viewers also liked (19)

PPT
Git vs SVN
neuros
 
PPTX
Git & SourceTree
Tu Tran
 
ODP
Choosing Git hosting service
Yoram Michaeli
 
POTX
Hello DevOps World
Yoram Michaeli
 
PPTX
Getting Started with Git: A Primer for SVN and TFS Users
Noam Kfir
 
PPTX
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
Dennis Doomen
 
PPTX
Li liq liqui liquibase
Yoram Michaeli
 
PPTX
From svn to git
Nehal Shah
 
PDF
Drupal 7 Tutorial: Features Module
Acquia
 
PPT
Git Introduction
Anil Wadghule
 
KEY
Introduction to Git
Lukas Fittl
 
PPTX
Basic Git Intro
Yoad Snapir
 
PDF
Git 입문자를 위한 가이드
chandler0201
 
PDF
Github 사용법
jong seok Kim
 
PDF
Introduction to git
Randal Schwartz
 
PDF
Git 기본개념과 사용법 그리고 어플리케이션
Dabi Ahn
 
PDF
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
PDF
[오픈소스컨설팅]Subversion vs git - 참을 수 없는 간단함
Ji-Woong Choi
 
PPTX
Taking your version control to a next level with TFS and Git
Alexander Vanwynsberghe
 
Git vs SVN
neuros
 
Git & SourceTree
Tu Tran
 
Choosing Git hosting service
Yoram Michaeli
 
Hello DevOps World
Yoram Michaeli
 
Getting Started with Git: A Primer for SVN and TFS Users
Noam Kfir
 
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
Dennis Doomen
 
Li liq liqui liquibase
Yoram Michaeli
 
From svn to git
Nehal Shah
 
Drupal 7 Tutorial: Features Module
Acquia
 
Git Introduction
Anil Wadghule
 
Introduction to Git
Lukas Fittl
 
Basic Git Intro
Yoad Snapir
 
Git 입문자를 위한 가이드
chandler0201
 
Github 사용법
jong seok Kim
 
Introduction to git
Randal Schwartz
 
Git 기본개념과 사용법 그리고 어플리케이션
Dabi Ahn
 
svn 능력자를 위한 git 개념 가이드
Insub Lee
 
[오픈소스컨설팅]Subversion vs git - 참을 수 없는 간단함
Ji-Woong Choi
 
Taking your version control to a next level with TFS and Git
Alexander Vanwynsberghe
 
Ad

Similar to Lets git to it (20)

PPTX
01 - Git vs SVN
Edward Goikhman
 
PPTX
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
PPTX
Version Control with Git
Sahil Agarwal
 
PPTX
Git tips and tricks
Chris Ballance
 
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
KEY
Getting Git
Brian Arnold
 
PPTX
git Technologies
Hirantha Pradeep
 
PPTX
Git Basics for Software Version Management
ishanmittal49
 
PPTX
Git and Github
Teodora Ahkozidou
 
PPTX
Git
Shinu Suresh
 
PPTX
GIT.pptx
Soumen Debgupta
 
PPTX
Git and github
Teodora Ahkozidou
 
PPT
Fundamentals and basics of Git and commands
DivyanshGupta922023
 
PPTX
GIT In Detail
Haitham Raik
 
PPTX
Git usage (Basics and workflow)
Yeasin Abedin
 
PDF
Improving your workflow with git
Dídac Ríos
 
PPTX
Getting Git...before it gets you
Jeremy Brown
 
PPTX
Source Control Using Git
Chris Mylonas
 
PPTX
Introduction to Git and GitHub
Bioinformatics and Computational Biosciences Branch
 
PPTX
git.ppt.pptx power point presentation got Google internet
rani marri
 
01 - Git vs SVN
Edward Goikhman
 
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Version Control with Git
Sahil Agarwal
 
Git tips and tricks
Chris Ballance
 
Let's Git this Party Started: An Introduction to Git and GitHub
Kim Moir
 
Getting Git
Brian Arnold
 
git Technologies
Hirantha Pradeep
 
Git Basics for Software Version Management
ishanmittal49
 
Git and Github
Teodora Ahkozidou
 
GIT.pptx
Soumen Debgupta
 
Git and github
Teodora Ahkozidou
 
Fundamentals and basics of Git and commands
DivyanshGupta922023
 
GIT In Detail
Haitham Raik
 
Git usage (Basics and workflow)
Yeasin Abedin
 
Improving your workflow with git
Dídac Ríos
 
Getting Git...before it gets you
Jeremy Brown
 
Source Control Using Git
Chris Mylonas
 
git.ppt.pptx power point presentation got Google internet
rani marri
 

More from Yoram Michaeli (9)

PPTX
Jenkins Pipeline 101 and TCI - presentation and workshop
Yoram Michaeli
 
PPTX
Issue-in-the-middle-here
Yoram Michaeli
 
PPTX
Continuous integration introduction
Yoram Michaeli
 
PDF
The Jenkins Pipeline Force Awakens - Jenkins User Conference Tel-Aviv 2018
Yoram Michaeli
 
PPTX
הרכב והעתיד The Car and the future
Yoram Michaeli
 
PDF
The Jenkins pipeline force awakens
Yoram Michaeli
 
PDF
The Jenkins Force Awaken Again @ JAM #6 meetup
Yoram Michaeli
 
PPTX
Source-it Version-contol & GIT - floating-lesson
Yoram Michaeli
 
PDF
Now i git it!!!
Yoram Michaeli
 
Jenkins Pipeline 101 and TCI - presentation and workshop
Yoram Michaeli
 
Issue-in-the-middle-here
Yoram Michaeli
 
Continuous integration introduction
Yoram Michaeli
 
The Jenkins Pipeline Force Awakens - Jenkins User Conference Tel-Aviv 2018
Yoram Michaeli
 
הרכב והעתיד The Car and the future
Yoram Michaeli
 
The Jenkins pipeline force awakens
Yoram Michaeli
 
The Jenkins Force Awaken Again @ JAM #6 meetup
Yoram Michaeli
 
Source-it Version-contol & GIT - floating-lesson
Yoram Michaeli
 
Now i git it!!!
Yoram Michaeli
 

Recently uploaded (20)

PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
The Future of Artificial Intelligence (AI)
Mukul
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 

Lets git to it

  • 1. Let’s GIT to it! Introduction to git & branching models Yoram Michaeli <[email protected]> FullStack Developers Israel 14.5.2014 Tikal, Tel-Aviv Hosted by:
  • 4. What is GIT? ● GIT is a distributed revision controlled source code management system (DVCS) ● GIT were created, designed and developed by Linus Torvalds (the creator of Linux) for Linux kernel development (See Linus Torvalds in YouTube) ● Official GIT site: http://git-scm.com
  • 6. Why use GIT?There are many other SCM/SVCS systems out there... ● GIT is fast ● GIT has no need for network connection - for most operations ● GIT is a great merge and branching tool ● GIT is a modern tool ● GIT have a very large install-base ● GIT encourage developers to commit, which results with less data lose
  • 7. GIT is distributed ● There is no single server – each endpoint contains all the information. ● Usually there is one endpoint that is considered as the central one but this is not a must. ● The common flow: o You clone the central repository and/or sync with its content o You work offline on your private repository o You push your local changes into the central repository
  • 9. GIT is fast ● For most operations you need no network connection ● Network operations are done very fast using modern and validated transfer actions ● GIT uses snapshots of the whole repository instead of the files-and-delta technology ● GIT uses pointers ● GIT is optimized for merge...
  • 10. GIT is optimized for merge ● GIT is designed for fast and efficient merge ● GIT supports: o Local merge o 2 repositories/endpoints merge o Simultaneously work on the same resource o Merge is usually done locally before pushing it to the remote repository so it is very easy to abort it or revert to the previous status
  • 12. Things you must consider about GIT ● GIT is not CVS or SVN or any of those tools ● GIT requires much to learn about it ● GIT command line interface (CLI) is the most recommended client for it
  • 16. GIT repositoryThe multiple commit concept ● Each commit store a pointer to the former (checksum) commit ● The first commit has a null pointer
  • 17. GIT branchesBasic terms ● branch – a pointer to some commit ● master – the “default” branch ● HEAD – the current branch of the local/remote repository ● origin – the remote repository (usually – the one you have cloned from) ● origin/master – the master branch (pointer) of the origin repository
  • 18. GIT local work GIT directory ...is where Git stores the metadata and object database for your project Working directory ...is a single checkout of one version of the project on your disk. Staging area (Index) ...is a simple snapshot file in your Git directory, that stores information about what will go into your next commit. Why staging? ● Gives you the ability to control the content of your next commit ● You can reset changes ● You can 'stash' all changes and work on a new task in the same location ● Once you’re done with your code – for committing - you can: o Review the differences between working directory and staging o Review the differences between staging and HEAD
  • 19. A GIT file life-cycle
  • 20. GIT basic flow and operations
  • 21. GIT basic flow The common flow ● You clone the central repository and sync with its content: o git clone <remote repository URL> - cloning the repository o git pull origin master - sync with remote repository ● You work offline on your private repository o git add --all - staging all new and/or removed files o git commit -m “<comment>” - commit changes ● You push your local changes into the central repository o git push origin master
  • 23. Other GIT common commands ● git clone – clone a repository into a new copy ● git status – show the status of your local repository ● git log – show commit logs ● git diff - show the differences between anything: states, branches and more ● git branch – perform branch-related actions such as create branch, list branches and more ● git checkout – switch to work on a certain snapshot (branch, hash, tag) ● git merge – merge into current working snapshot ● git cherrypick – merge picked commits from branch to branch
  • 24. Let’s GIT started ● Install GIT (usually from http://git-scm.com) ● Initial GIT global settings ● git config --global user.name “Bill Gates” ● git config --global user.email [email protected] ● GIT repository initiate: ● mkdir microsoft ● cd microsoft ● git init or ● GIT clone: ● git clone git@microsoft:acquired-companies/someTool.git
  • 26. GIT hosting tools and services
  • 27. GIT cloud-based hosting services https://git.wiki.kernel.org/index.php/GitHosting
  • 28. GIT on-premise hosting tools http://en.wikipedia.org/wiki/Comparison_of_free_software_hosting_facilities
  • 29. Detailed guideline for choosing GIT host service http://www.slideshare.net/YoramMichaeli/git-hostingservice
  • 31. GIT GUI client tools
  • 32. GIT workflows (branching models) Based on Atlassian's 'GIT workflows' excellent introduction!
  • 33. Centralized Workflow If your developers are already comfortable with Subversion, the Centralized Workflow lets you experience the benefits of Git without having to adapt to an entirely new process. It also serves as a friendly transition into more Git-oriented workflows. See more...
  • 34. Feature Branch Workflow The Feature Branch Workflow builds on the Centralized Workflow by encapsulating new features into dedicated branches. This enables the use of pull requests as a means to discuss changes before they’re integrated into the official project. See more...
  • 35. Gitflow Workflow The Gitflow Workflow streamlines the release cycle by using isolated branches for feature development, release preparation, and maintenance. Its strict branching model also lends some much needed structure to larger projects. See more...
  • 36. GitHub Flow what is GitHub Flow? ● Anything in the master branch is deployable ● To work on something new, create a descriptively named branch off of master (ie:new-oauth2-scopes) ● Commit to that branch locally and regularly push your work to the same named branch on the server ● When you need feedback or help, or you think the branch is ready for merging, open a pull request ● After someone else has reviewed and signed off on the feature, you can merge it into master ● Once it is merged and pushed to ‘master’, you can and should deploy immediately See more...
  • 37. Forking Workflow The Forking Workflow is a distributed workflow that takes full advantage of Git’s branching and cloning capabilities. It provides a safe, reliable way to manage large teams of developers and to accept commits from untrusted contributors. See more...
  • 38. Pull requests Pull request (sometimes called merge request) is a feature that makes it easier for developers to collaborate using the hosting service. It provides a user- friendly web interface for discussing proposed changes before integrating them into the official project. See more...
  • 40. Other GIT great starting points