Introduction
GitHub flow is a lightweight, branch-based workflow. The GitHub flow is useful for everyone, not just developers. For example, here at GitHub, we use GitHub flow for our site policy, documentation, and roadmap.
Prerequisites
To follow GitHub flow, you will need a GitHub account and a repository. For information on how to create an account, see Creating an account on GitHub. For information on how to create a repository, see Quickstart for repositories. For information on how to find an existing repository to contribute to, see Finding ways to contribute to open source on GitHub.
Following GitHub flow
Tip
You can complete all steps of GitHub flow through the GitHub web interface, command line and GitHub CLI, or GitHub Desktop. For more information about the tools you can use to connect to GitHub, see Connecting to GitHub.
Create a branch
Create a branch in your repository. A short, descriptive branch name enables your collaborators to see ongoing work at a glance. For example, increase-test-timeout or add-code-of-conduct. For more information, see Managing branches within your repository.
By creating a branch, you create a space to work without affecting the default branch. Additionally, you give collaborators a chance to review your work.
Make changes
On your branch, make any desired changes to the repository. For more information, see Creating new files, Editing files, Renaming a file,