Skip to main content
Use GitHub to import a repository, keep hosted project code in a repository, and review changes through branches and pull requests.

Select the account

Connect GitHub in Project setup → Connections or workspace Integrations. Complete GitHub’s authorization flow with access to the repositories you need. A workspace can connect multiple GitHub accounts. In the project, select a specific account or inherit the workspace default. Team projects use team workspace connections. If a repository is missing, check the selected account, organization authorization, and repository permissions.

Work with a repository

Import a repo to start from existing code. For a new project, use the available GitHub connection and repository setup controls to link its code. Additional hosted sessions require a connected GitHub project. Session branches keep parallel work separate until integration. Review the target branch and merge behavior before combining changes.

Keep work synchronized

The Code and history views show repository information when available. After pushing changes outside pre.dev, use Refresh from GitHub when offered and confirm the active branch is current. The CLI edits your local checkout; use its normal Git workflow to exchange code with GitHub. Sharing a pre.dev project record does not replace that synchronization. If you rotate or disconnect an account, update affected project pins and confirm repository operations still work with the replacement connection.