๐Ÿ“˜ Introduction STEP 02 / 15 โฑ 15 min โณ 190 min left

INTRO: Setup

In this section you'll copy the following template repository to create your hands-on repository, then open it in a Codespace to start working. If you can't use Codespaces, clone it locally and work there instead.

Project URL: https://github.com/theomonfort/Github-copilot-workshop

2.1 โ€” Create your hands-on repository

  1. Open the project URL in your browser
  2. Click the Use this template button in the top right and select Create a new repository

Use this template โ†’ Create a new repository

  1. On the repository creation screen, configure the following:

    • Owner: select an Organization where you can freely create test repositories (Copilot / Actions / GHAS / Codespaces enabled)
    • Repository name: any name you like (e.g., hands-on-yourname)
    • Visibility: select Private
  2. Click Create repository

Click the Create repository button

2.2 โ€” Open the repository

Open your newly created repository in a dev environment. Option 1 (Codespaces) is recommended, but if you can't use it, Option 2 (Local) works too.

  1. On your newly created repository's page, click the green Code button
  2. Select the Codespaces tab
  3. Click Create codespace on main

Option 2: Local

  1. Open a terminal in VS Code (menu Terminal โ†’ New Terminal, or Ctrl+`)

  2. On the repository page, open the green Code button โ†’ Local tab โ†’ GitHub CLI tab, and copy the clone command

    Copy the clone command from Code โ†’ Local โ†’ GitHub CLI

  3. Paste it into the terminal to clone the repo locally:

    gh repo clone <owner>/<repo-name>
  4. Open the cloned folder in VS Code:

    code -r <repo-name>

Either way, the DevContainer sets up a Node.js 22 environment with the following pre-installed (locally, use a DevContainer-aware setup or install them manually):

  • GitHub Copilot & Copilot Chat extensions
  • GitHub CLI (gh)
  • GitHub MCP Server (.vscode/mcp.json, auto-discovery enabled)
  • Copilot CLI (@github/copilot)
  • gh-aw (Agentic Workflow CLI)

2.3 โ€” Review the source content

src/content/playbook/ contains several Markdown files about GitHub and Copilot โ€” the material for today's site. Each file's frontmatter defines title / summary / icon / color and an SDLC category (introduction / plan / develop / review / secure / operate, etc.). Assets you can use to build the site โ€” icons and images (such as planet artwork) โ€” are also provided under public/.