• All your commits are on one branch called main.
    It is the version that your team uses, so a change that is not finished must not go there.

    So you work on your own branch, a separate line of commits that starts from main:

    The branch main has the commits Add VLAN 30 and Fix VLAN 20, and the branch add-vlan starts from the last one with one new commit of its own, Add VLAN 40

    Figure 1 - The Branch add-vlan Starts from main

    To create a branch and move to it, you use git switch -c like this:

    netops@automation:~/automation/netauto$ git switch -c add-vlan
    Switched to a new branch 'add-vlan'
    netops@automation:~/automation/netauto$ git branch
    * add-vlan
      main

    Your commits now go on add-vlan and main does not change.
    git branch lists your branches, with a star on your current branch.

    You may also see git checkout -b, the older way to write git switch -c.

    In the lab, you need to:

    1. Create the branch add-guest.

    2. In the Editor tab, add the line 40: GUEST at the end of vlans.yaml.

    3. Stage the change and commit it.

    Answer the question below

    Enter the flag you obtained.