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

- Go to your Project Settings and click Connect to GitHub. This will open a modal.
- Enter your repository name and complete the connection.
From a chat

- Click the GitHub icon in a chat thread to open the menu.
- Choose your Git scope and enter the repository name.
- 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.