Question: Topic: Version Controlling You have to answer the git command and explanation. Give me the exact correct command answer and explanation. 3. Write appropriate git

Topic: Version Controlling
You have to answer the git command and explanation.
Give me the exact correct command answer and explanation.
3. Write appropriate git commands to perform the following tasks: [CO2] - Initiate a git repository - Create two branches named branch-1 and branch-2 - Create a file named "a.txt" in the local directory, and commit it in branch-1 - Update "a.txt", and commit it again in branch-1 - Create a new file named "b.txt" in the local directory, and commit it in branch-2 - Edit the file "b.txt", and commit it again in branch-2 - Revert back to the first commit of branch-2 (Let hash code of 1st commit of branch-2 is "a92929292111") - Merge branch-1 and branch-2 with the master branch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
