Lovable can save your project to GitHub automatically, but the connection lives in your account settings, not inside a single project. Here is exactly where to find it and what each screen actually asks you to click.
An overlay appears directly on top of Supabase and Lovable. No tab switching, no re-reading docs.
Copy your Project URL
Find the Project URL field below and click the copy icon. We will use this in Lovable’s environment settings.
Stylized preview. The real guide is interactive, not a screenshot.
Open your project switcher first. This is where the menu that leads to your account settings lives.
From the switcher, open your account menu. Your settings and connections, including GitHub, live in here.
Click Settings to open your project settings, this is where you manage connections like GitHub.
Select Git from the settings menu. Git is the system GitHub is built on, so this is the right tab even though the option is not labeled GitHub yet.
Click GitHub to start syncing your project. This is the actual link between Lovable and your code storage.
Clicking Add connection can prompt a GitHub sign-in if you are not already logged in on that browser. That is normal, not an error, sign in and continue.
Click Add connection to begin linking your GitHub account.
Click Add account to finish connecting GitHub. Pick the account you just signed into and approve it.
Once linked, Lovable saves every future change to GitHub automatically. You will not need to repeat this for new projects tied to the same account.
GitHub is connected once, at the account level, rather than switched on separately inside every project. That means the setup you do here carries over automatically the next time you start something new in Lovable, you are not repeating these steps per project.
The settings menu groups GitHub under a tab called Git, since GitHub is one implementation of the underlying Git version control system. If you are looking for GitHub specifically and only see Git, that tab is still the right place, GitHub is the option waiting inside it.
Want to build this for real instead of just reading about it?
It is under your account settings, not inside an individual project. Open your project switcher, then your account menu, then Settings, then the Git tab.
Git is the underlying version control system GitHub is built on, so Lovable groups the connection under that tab. GitHub is the option you select once you open it.
Only if you are not already signed in on that browser. Clicking Add connection will prompt a GitHub sign-in first if needed, then let you approve the account.
No. The connection is made once at the account level, so new projects can use it without repeating the setup.
Once approved, Lovable starts saving changes to GitHub automatically going forward. There is nothing further to configure for that connection.
No, but it is what turns your project into a real, versioned codebase instead of something that only exists inside Lovable's preview, and it is what a deploy step later pulls code from.
Since the connection saves everything going forward but does not retroactively fix a project with no history, linking GitHub early gives you a backup from the start.
Since this is an account-level connection reused across projects, sign in with the GitHub account you actually plan to keep using.
Being asked to sign into GitHub partway through is expected behavior, not a broken connection.
If you are scanning the settings menu for the word GitHub, look for Git first, that is the tab it lives inside.
You're not the problem. The format is. Here's what changes when you switch to an interactive mission.
Looking for the next thing to build? Browse every mission and find one that matches what you are trying to ship.
Browse all missions