Note: This article refers to 2 different versions of the editor:
When you connect a site to GitHub, the Regular Editor undergoes some changes to facilitate code management and version control. The code in the Regular Editor is automatically synced with the default branch of the connected repo.
Because a connected site's code is managed outside of the editor, the code in the Regular Editor is in read-only mode.
The name of the connected repo as well as the details of commits to the default branch appear in the GitHub Integration panel of the sidebar.

While a site is connected to GitHub, the Regular Editor is in read-only mode. This involves the following changes: