# GitFlow > GitFlow (https://gitflow.com) is an independent, practical guide to Git workflows. It explains the Gitflow branching model, compares it honestly with GitHub Flow, trunk-based development and GitLab Flow, and teaches Git step by step with copy-pasteable commands. Key facts: - Gitflow was introduced by Vincent Driessen in 2010 ("A successful Git branching model"). It uses two long-lived branches (main, develop) and three short-lived branch types (feature/*, release/*, hotfix/*). - Gitflow suits explicitly versioned software (apps, libraries, on-prem). For continuously deployed web apps, simpler models such as GitHub Flow or trunk-based development are usually a better fit. - GitFlow is not affiliated with the Git project or Software Freedom Conservancy. ## Guides - [What is Gitflow?](https://gitflow.com/what-is-gitflow/): The Gitflow branching model: main, develop, feature, release and hotfix branches, how a release works, pros and cons, and when to use it. - [Compare Git workflows](https://gitflow.com/workflows/): Gitflow vs GitHub Flow vs trunk-based development vs GitLab Flow, with a decision guide. - [Gitflow cheat sheet](https://gitflow.com/cheatsheet/): Every Gitflow command (plain Git and git-flow) on one page. ## Tutorials - [Install and configure Git](https://gitflow.com/tutorials/01-install-and-configure-git.md): Install Git on macOS, Windows or Linux and set the handful of settings every developer should have. - [Your first repository](https://gitflow.com/tutorials/02-your-first-repository.md): Create a repository, stage changes, commit, and read the history. The core Git loop in ten minutes. - [Branching and merging](https://gitflow.com/tutorials/03-branching-and-merging.md): Create branches, switch between them, and merge them back. This is the building block of every Git workflow. - [The Gitflow workflow, step by step](https://gitflow.com/tutorials/04-gitflow-step-by-step.md): Run a full Gitflow cycle (feature, release and hotfix) with plain Git commands and with the git-flow extension. - [Rebase vs merge](https://gitflow.com/tutorials/05-rebase-vs-merge.md): Two ways to combine work. What each does to history, when to use which, and the one rule you must never break. - [Undoing things in Git](https://gitflow.com/tutorials/06-undoing-things.md): restore, reset, revert and reflog. Pick the right undo for the situation and recover "lost" work. - [Remotes and pull requests](https://gitflow.com/tutorials/07-remotes-and-pull-requests.md): Clone, fetch, pull and push, then open a pull request. How Git workflows play out on GitHub and GitLab. ## Optional - [Full text of all tutorials](https://gitflow.com/llms-full.txt): every tutorial in one Markdown file - [Git resources](https://gitflow.com/resources/): curated external links (Pro Git, nvie.com, trunkbaseddevelopment.com) - [About](https://gitflow.com/about/)