Lesson 8 of 8
Pull Requests
A Pull Request (PR) is a request to merge your branch into another branch. It is done on GitHub, not in the terminal. PRs let team members review code before merging.
The typical workflow: create a branch → make changes → push branch → open PR → review → merge.
GIT
# 1. Create and switch to a new branch
git checkout -b fix-header
# 2. Make changes and commit
git add .
git commit -m "Fix header alignment"
# 3. Push the branch to GitHub
git push origin fix-header
# 4. Go to GitHub and open a Pull Request
# 5. After approval, merge on GitHub