GitHub

Connect your GitHub repositories to v0 to automatically create projects and track changes.

v0 allows you to connect your projects with GitHub for:

  • Version Control: Track and revert code changes
  • Collaboration: Work on the same codebase together
  • CI/CD: Deploy automatically when pushing to Git
  • Pull Requests: Review changes before merging

Connecting to GitHub

You can connect GitHub to v0 from a chat thread or project.

From a project

GitHub integration prompt from chat UI
  1. Go to your Project Settings and click Connect to GitHub. This will open a modal.
  2. Enter your repository name and complete the connection.

From a chat

GitHub integration prompt from chat UI
  1. Click the GitHub icon in a chat thread to open the menu.
  2. Choose your Git scope and enter the repository name.
  3. Click Create Repository to link the chat. You'll now see the connected repo. To push changes, open the GitHub window and choose a branch.

By default, v0 pushes to the main branch. You can select or create a different one.