Question: Your current repository has three branches: master, beta, and push-notifications. You have just finished the notification feature and commit the changes to the push-notification branch, and you want to include them in the beta branch. How can you accomplish this?
- Check out the beta branch and run git merge push-notifications.
- Check out the push-notifications branch and run git merge beta.
- Check out the master branch and run git merge beta -> push-notifications.
- Delete the push-notifications branch; it will be committed to the master branch automatically.
Answer: The correct answer of the above question is Option A:Check out the beta branch and run git merge push-notifications.