Skip to content

Exercise 04: Branching

Goal

Use a branch to isolate a lab note update.

Tasks

  1. Create a branch named lab/nmap-baseline.
  2. Add a short labs/nmap-baseline.md file.
  3. Commit the change.
  4. Switch back to main.
  5. Merge the branch.
  6. View the graph with git log --oneline --graph --decorate.

Reflection

  • What work happened on the branch?
  • Why might a security team require branch reviews?