⏪ Undoing Changes | Branching ⏩
When both team members have finished the above section, you may begin this section.
The main repository is called the master
branch. When working with teams, you want to avoid working directly on the master branch. It is desireable to work on a copy of the repository and later merge it with the master branch. First, you will work on your repository using a separate branch and merge it with the master. Second, we you will work on a separate branch and have your teammate review your changes before merging (pull request
).