Git and GitHub
Push the repository to GitHub from the Git pane.
Replit’s version control is Git and its production database is Postgres. That makes a move possible; planning makes it safe.
Sound familiar?
Replit’s version control is Git, so push the code to GitHub, then copy the production Postgres database using its connection string. Plan sign-in before you move, since Replit Auth uses Replit accounts, and replace secrets, connectors and App Storage calls.
Why it happens
Version control on Replit is Git: Agent checkpoints, the Git pane and the Git command line all use the same repository, and it syncs with GitHub. So the code moves cleanly.
The production database is PostgreSQL, and any Postgres-compatible client can connect to it with the connection string from its Settings tab, which is how you copy the data out. Secrets, sign-in and files in App Storage each need their own plan.
Already done for you
Push the repository to GitHub from the Git pane.
The connection string in the production database’s Settings tab works with any PostgreSQL client.
Files are reachable with Replit’s SDKs and Google Cloud Storage client libraries.
Fix it yourself
In this order. Most apps get most of the way with these alone.
Tools → Git, initialise the repository if needed, connect GitHub and push.
Every secret, sign-in setting, Stripe webhook and email setting the app uses.
Use the production connection string with a Postgres tool such as pg_dump to copy it into the new database.
Replit Auth signs users in with Replit accounts, so choose how they’ll sign in on the new host before switching. Clerk Auth gives your app its own user accounts.
Run the app on the new host against a copy of the data, move DNS, and keep the Replit app until you’re sure.
If the steps above turn up more than you have time for, or the app already has paying users, I take Replit apps to production: login and access rules, database and backups, payments, security, SEO and deployment.
App rescue: From $1,000, fixed price, scoped in writing before any work starts.
More in app rescue, or hire a Replit developer.
Questions
Yes. Replit’s version control is Git, and the Git pane syncs with GitHub.
Yes. Connect any PostgreSQL-compatible client using the connection string in the production database’s Settings tab.
With Replit Auth they sign in with Replit accounts, so plan the new sign-in method before you move. Clerk Auth gives your app its own accounts.
Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.