Fundamentals
Set theme to dark (⇧+D)

GitHub Flow

GitHub Flow is a Branching Model defined by GitHub. It is simpler than GitFlow in one sense, but more complex in another.

Instead of having Feature branches like in GitFlow, one forks an existing Git Repository. You make the changes you want, which results in a new master, which you push to your own Git Repository.

You can then create a Pull Request on the original Git Repository, that basically says: “I made some changes in my own repo, would you care to have a look at it?” The maintainer of the original Git Repository can then pull in the changes from your repo, have a look at it, and if he likes it, he will squash all the commits on your master into one commit which references your fork, add it to his master and that is how your feature is added to the main repo.

​​ Sources