If you need to, you can disconnect a site from GitHub. When you do this, the site retains the code from the most recent commit to the GitHub repo's default branch. After disconnecting, the repo still exists in GitHub but changes to it aren't reflected on the site. Once a site is disconnected from GitHub, the editor exits read-only mode.
Important: Once you disconnect a site from GitHub and from a repo, you can't reconnect the site to that repo again. If you reconnect a site to GitHub later, a new repo is created.
To disconnect from GitHub: