GitHub for your site, and where Webflow fits
For code-built sites, GitHub is the source of truth. Every change is a pull request with a preview link, a review and a history you can roll back.
How we set it up
The method depends on where your site is built. Here is what we use for GitHub on each platform.
Framer
Framer projects are stored and versioned inside Framer, which has its own version history and staging. There is no Git sync for the whole site. Code components can be kept in a repository for reference, but Framer remains the source of truth for the published site.
Framer development Not neededWebflow
Webflow sites are versioned inside Webflow with backups and staging. GitHub only comes in when you sync Webflow components to a React codebase with DevLink, or keep custom scripts in a repository and load them from a CDN. For most Webflow sites, it is not needed.
Webflow development Git integrationAstro
Astro sites live in a GitHub repository in your organization. We protect the main branch, require a review before merge, and connect the host so each pull request builds a preview. GitHub Actions run checks such as link validation, type checks and Lighthouse budgets before anything merges.
Astro development Git integrationNext.js
Next.js projects follow the same flow: a repository you own, protected main branch, pull request previews from your host, and Actions for tests and linting. Secrets live in the host’s environment settings or GitHub encrypted secrets, never in the code itself.
Next.js developmentWhat teams use it for
A preview for every change
Each pull request gets its own URL, so you approve the real page, not a screenshot.
Checks before merge
Broken links, type errors and performance regressions are caught automatically.
Ownership and history
All code sits in your organization, with a full history of who changed what and why.
What to watch out for
API keys committed to a repository stay in its history. We use environment variables and turn on secret scanning.
Repositories should sit in your GitHub organization, not the agency’s, so ownership is clear from day one.
Preview links are public by default on some hosts. We add password protection or noindex for unreleased work.
Questions about GitHub
Does Webflow integrate with GitHub?
Who owns the repository?
Are preview links public?
Do non-developers need GitHub?
Can we use GitLab or Bitbucket instead?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related integrations and services
Vercel
Hosting from the makers of Next.js, with preview deployments for every branch and pull request.
OpenNetlify
Hosting for code-built sites, with a deploy preview for every pull request.
OpenCloudflare
DNS, CDN, security and hosting at the edge, from domain records to full-stack apps.
OpenNext.js development
Code-built sites with a review and preview for every change.
OpenTechnical debt
Glossary definition.
Open