How to Export Your Lovable Project to GitHub and Hand It Over to a Developer: Step-by-Step Guide

Written by Léo Guillaume6 min read
export lovable to githublovable github synchronizationlovable code ownershiptaking over a lovable projectlovable developer handoverai application takeover
How to Export Your Lovable Project to GitHub and Hand It Over to a Developer: Step-by-Step Guide

The question almost always comes up at the same time: "My code is in Lovable, how do I give it to a developer?" The good news is that the code is yours, and Lovable allows you to export it. The less good news is that no one explains the right order of steps or what a developer truly expects from you. Here’s the step-by-step guide, as I explain it to my clients.

What Lovable says about your code

Lovable synchronizes each project with a Git repository hosted on GitHub, GitLab, or Bitbucket, and the repository is created in your own account. It’s not a static copy: synchronization works both ways. What you modify in Lovable is saved to the repository, and what a developer pushes to the repository comes back into your Lovable project.

Git synchronization is available even with the free plan. Downloading the code as a single archive, however, is only available with paid plans—but you won’t need it if the repository already exists.

Last and most importantly: you own the code and the repository. Disconnecting Lovable deletes nothing—neither from your side nor theirs.

Step 1: Create the GitHub repository under your name

If you don’t already have a GitHub account, create one using your company’s email address—not a freelancer’s or intern’s. This account will be the vault for your application for years to come.

Then, in Lovable:

1. Open the project settings and go to the GitHub section;
2. Connect your GitHub account, then authorize the Lovable app on that account;
3. Link the project: Lovable creates the repository and sends all the code to it.

One rule to never forget: never rename, move, or delete this repository once it’s connected. Synchronization will break, with no way to undo it.

Step 2: Grant the developer access without handing over the keys to the house

A developer doesn’t need your Lovable password or your GitHub password. They need three types of access, which you can revoke at any time:

- the GitHub repository, read-only for auditing, or read-write for maintenance;
- the Supabase project (the database), by inviting them as a member of your organization;
- application configuration variables such as payment keys, email sending, and AI. Pass them through a password manager, never via email.

To make auditing useful, include what isn’t visible in the code: what the application should do, the list of bugs with instructions on how to reproduce them, and the screens most critical to your business. A five-line list is worth more than an hour of video call.

Step 3: let the developer work without breaking synchronization

During the handover, the developer retrieves the code on their machine, fixes it, tests it, and sends it back to the repository. Lovable automatically picks up these changes. Two precautions avoid unpleasant surprises:

- do not modify the project in Lovable at the same time a developer is working on it, or notify them: two people editing the same file simultaneously guarantees a conflict;
- server-side functions (what Lovable calls Edge Functions) modified outside the tool must be redeployed from Lovable or directly from the database.

Once the handover is complete, you have two options. You keep Lovable connected to design new screens, and everything going into production goes through the developer. Or you disconnect the tool, and the application lives from the repository like any other software.

Step 4: verify that you remain the owner

Before considering the matter settled, check these four points:

- the GitHub repository is under an account in your name, and you are its administrator;
- the Supabase project is in an organization you own;
- the domain name and hosting are in your name;
- you know where the keys are, and you can revoke anyone’s access within five minutes.

This is what I deliver at the end of every application handover done with AI: a repository in your name, documentation explaining how to launch, back up, and restore the application, and no more dependency on a person or a tool.

A concrete example

Let’s imagine Thomas, who runs a cleaning company and built a scheduling tool for his six employees using Lovable. The tool is useful, but it glitches when it comes to substitutions. Before our first conversation, Thomas connects the project to a GitHub repository created with the company’s address, invites me as a read-only user, and sends me three lines: what the tool does, the substitution bug, and Monday morning’s schedule as the top priority screen.

The audit takes half a day. The bug stems from how absences are recorded, not the screen itself. Ten days later, the fix is in the repository, tested, and Lovable has picked it up. Thomas keeps designing his next ideas in the tool and sends them to me when they’re ready for production.

And Bolt?

Bolt also offers sending the project to GitHub. The principle is the same: a repository in your name, access granted to the developer, and the work is done from the repository. The only difference is the path in the menus.

Frequently Asked Questions

Will I lose my Lovable project if I export it?
No. The project stays in Lovable; the repository is a synchronized copy. You can continue using it.

Can the developer retrieve my code without my consent?
No. Access to the repository is granted and revoked from your GitHub account in a few clicks.

Do I need a paid subscription to export?
Synchronization with GitHub is available from the free plan. Only downloading the code as an archive requires a paid plan.

What if I no longer have access to the account that created the project?
This is the trickiest case: a project created by a former contractor or an intern who has since left. Start by regaining access to the account or ask the owner to transfer the project. Without that, you’ll have to start from the code you can retrieve, and sometimes rebuild parts of it.

Need help with the handover?

If you’ve completed steps 1 and 2, send me the repository link and your three lines. I’ll review the code, and you’ll receive my first written feedback within 48 hours, for free. And if you’re still unsure, the 8-question test will tell you in two minutes whether your application needs a handover.

→ Request my free audit

Software built around your business? Scheduling, stock, quotes, time tracking: I build custom business software for small and mid-sized companies, at a fixed price.

Custom business software in Rennes: tools, prices and method 
Portrait of Léo Guillaume, founder of Dibodev

Written by

Léo Guillaume

Independent developer near Rennes

I build business applications, websites and AI-powered automations for small and medium businesses. These articles share what I see in the field, with my clients.

Read my story

Have a project in mind?

Tell me about your needs in a few lines: I will reply within 24 hours with first ideas and a budget estimate.