Practice & Assessment
Test your understanding of Working with GitHub: Remotes, Push, Pull, and Collaboration
Multiple Choice Questions
5What is the difference between git fetch and git pull?
What is a fork in GitHub?
Which remote name is used by convention to refer to the original repository when working with a fork?
What happens when you include 'Closes #42' in a pull request description on GitHub?
What is the purpose of the -u flag in 'git push -u origin main'?
Mini Project
Team Collaboration Simulation with Pull Requests
Create a GitHub repository for a sample team project (e.g., a recipe collection or a reading list). Invite a collaborator (or simulate with a second GitHub account). Set up branch protection on main requiring at least one review before merging. Create an issue template and a pull request template. One team member opens issues for three features. Each member works on feature branches, submits pull requests linked to issues, and reviews the other's PR before merging. The final repository should show at least four merged PRs with closed issues.
