codex-lv2-may-2025

Navigation

2 | 3 | 4 | 5 | 6 | Current Level: 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15


Lesson: Create a Personal Branch to Work on Your Page

🎯 Objective

Each team member will create a personal branch in the shared repository to safely develop their individual page without affecting the main branch.


👣 Steps

  1. Go to the Shared Repository

    • Visit your team’s GitHub repository.
  2. Open the Branch Menu

    • Near the top-left, you’ll see a dropdown labeled main.
    • Click it to open the branch menu.
  3. Create a New Branch

    • Type your branch name in the field (e.g., alex-page, jordan-html, or sam-content).
    • Click “Create branch: [your-branch-name] from ‘main’“.
  4. Verify You’re on Your Branch

    • You should now see your branch name instead of main at the top-left.
    • Any changes you make now will only apply to your branch.
    • Wait until the next step to start work on your page.

✅ Practice Check


💬 Discussion Prompt

Why is it useful to work on a personal branch instead of editing the main branch directly?