Git and GitHub Collaboration — Free Starter Lesson
Free software starter lesson · 15 minutes · Beginner. Make a small documentation change on a branch and explain it in a pull request. Use a practice repository with an existing README and permission to create branches.
1. Make a small change on a branch
On GitHub, open the repository and check its default branch name. Create a branch called docs/readme-setup from that branch. On your new branch, edit README.md to add a short Setup section. Commit the change on the new branch with a message such as Add setup notes to README.
2. Review the change before merging
Open a pull request with your new branch as the compare branch and the default branch as the base. Review the changed files. Confirm that the pull request contains only the intended README edits and that it targets the practice repository.
Try it yourself
Write a pull request title and a two-sentence description. In the first sentence, explain what changed and why. In the second, tell a reviewer how to check it. Leave the pull request open for review.
Self-check
Your branch should contain the README edit. The default branch should still show the original README. The pull request should show one changed file and give the reviewer enough context to check it.
Watch the Git Collaboration video for a companion overview.
Browse the other free starter lessons on Learning Progress.