Lesson 2 Episode 1 — get familiar with branches

Lesson 2 Episode 1 — get familiar with branches#

Please perform the following tasks individually

  1. Revise the commands we have used so far

  2. Create at least three branches with any name you like, using…

  3. Rename them and switch between them at your pleasure, using…

  4. Check the status message and the history in each branch you are in, using… Take note of the output of the Git commands

Attention

  • DO NOT change content and name of the file

  • DO NOT stage and commit changes

At the end:

  1. If you have a banch master, rename it as main

  2. Return to the branch main

  3. Delete all other branches, using…

Formulate your explanation of what you have observed. The following questions are two sides of the same coin:

  • What did you ask Git to do?

  • What did Git do for you?