GitHub Flow for Collaboration Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Working with GitHub

What you'll be asked

  1. What is the primary purpose of a Pull Request in GitHub?
  2. When working in a team, why is it considered a best practice to create a new branch for every feature or bug fix?
  3. You have pushed your local branch to GitHub and opened a Pull Request. A teammate leaves a comment requesting changes. What is the correct workflow to address this?
  4. What happens if you try to merge a Pull Request that has a 'merge conflict'?
  5. If you are working on a shared repository and want to ensure your local 'main' branch is up-to-date with the remote 'main' branch before starting a new feature, which sequence of commands is correct?

Answers and explanations come after you submit.