In this lesson, we’ll discuss the flow of using GitHub with your code development process. When working on a project, things can scale rather quickly. Following a specific workflow allows the project to move in more orderly way.
Remember that Git is defined as a version control system that’s maintained on your local system. It helps you manage and record your source code history. GitHub, on the other hand, is a hosting service for repositories. Simply put, Git is the tool and GitHub is the service for projects that use Git.
In this lesson we’ll take a look at the basic workflow used with GitHub, which goes like this:
- Create a branch
- Commit changes
- Create a pull request
- Review pull request
- Merge and delete branch
By sticking to that workflow, team members are able to isolate their work and avoid any conflicting code from being merged. In the following lesson, we’ll take a deeper look at each of these steps.