This tutorial shows how to push your Replit project to GitHub as a new repository for the first time.
Note: You need a Replit account and a connected GitHub account. If you haven't linked your GitHub account yet, see How to Connect Replit to GitHub first.
- Sign in at replit.com and open the project you want to export from the dashboard.
- In your workspace, click the Git tab in the left sidebar (the source control icon).
- Click Create Remote. Replit prompts you to name your new repository.
- Enter a repository name and choose whether to make it Public or Private.
- Click Create repository on GitHub. Replit pushes your project files to the new GitHub repo and confirms when the export is complete.
- Click the generated GitHub link to confirm your project is live on GitHub.Your project has been successfully exported to GitHub.
.gif)
