> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xkat.space/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub Sync

> Safely sync your work with a personal repository.

The Dynamic Workspace can sync your lesson work with your own **GitHub
repository**, so your practice code lives somewhere you control.

## Setting it up

<Steps>
  <Step title="Connect GitHub">
    Link your GitHub account under **Settings → Security → Connected social
    accounts** (or during sign-in). See [Account & Profile](/en/get-started/account).
  </Step>

  <Step title="Look for the GitHub badge">
    In lessons that support it, the editor shows a **GitHub badge** indicating
    your work can sync to a personal repository.
  </Step>

  <Step title="Sync your work">
    Push your changes to keep a personal copy of what you build during the course.
  </Step>
</Steps>

## Why it matters

* **Ownership** — your practice code isn't trapped in the lesson; it's in your repo.
* **Portfolio** — completed exercises can become part of your public work.
* **Safety** — syncing is to *your* repository, kept separate from course content.

## Related

<Card title="Workspace overview" icon="window" href="/en/learn/workspace/overview">
  See how GitHub sync fits into the Dynamic Workspace.
</Card>
