Skip to content
freecodeDocsOpen workspace
Browse documentation

Import a GitHub repository

Start a freecode project from a copy of a repository’s default branch and check which commit was imported.

Choose a repository

  1. In the workspace, choose New project → Import from GitHub. On the home page, choose Connect GitHub instead. Sign in when prompted and pick the repositories freecode can read.
  2. Under Choose a repository, type part of the repository name. Each entry shows the owner, repository, visibility, and branch.
  3. Select the repository and choose Import repository. Wait for the import to finish before asking the agent to edit anything.

Check the source

Open Project in the toolbar. GitHub source shows the repository and the commit that was imported. The project gets its own copy of the default branch, and edits in freecode stay in that project.

To bring edits back to your repository, download the source and review the changes locally before committing.

If a repository is missing

The search box filters the repositories already loaded. Choose Load more repositories if it appears. If the repository isn’t in the selection you shared, choose Choose more on GitHub, grant access, and return to freecode.

If a project opens with an unfinished import, choose Retry import in its banner.