You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Home > Project Editor > Importing & Exporting Code > Exporting Projects to GitHub
Exporting Projects to GitHub
print icon

The exported Glitch code isn’t special in any way – it should work without any changes on other services.



To export your project's code to GitHub:

  1. In the project editor view, click Tools at the bottom of the page.
  2. In the Tools menu, click Import and Export.
  3. If a message appears that says Connect your GitHub account, click Connect to GitHub and then enter your GitHub credentials.
  4. Now, click Export to GitHub.
  5. In the popup, enter the GitHub repo that you want to use, and then click OK.


Note the following:

  • A GitHub account can only be connected with one Glitch account.  If you see an error message when exporting, it may mean that you are already using the GitHub account that you entered with another Glitch account. Click here to learn how to fix this.
  • If you're exporting to a GitHub organization's repo, be sure that the organization admin approves third-party access for Glitch.
  • It is not possible to export to an empty repo; the repo must have at least one file in it for the export to work.


You can also download a copy of your project to your computer. Click here to learn how!

Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
17 out of 22 found this helpful

scroll to top icon