For the detailed solution to this assignment, click this link: https://medium.com/devops-guides/create-two-branches-merge-these-branches-to-the-master-branch-git-assignment-4-62507f440d01
Step 1: Create a directory named "assignment4".
Step 2: Put master.txt on the master branch, stage, and commit
Step 3: Create 3 branches: public 1, public 2 and private
Step 4: Merge public 1 on the master branch
Step 5: Merge public 2 on the master branch
Step 6: Edit master.txt on a private branch, stage, and commit
Step 7: Now update branch public 1 and public 2 with new master code in private
Step 8: Also update the new master code on the master
Step 9: Finally update all the code on the private branch successfully.