# Put a One Click App's code in your own GitHub repository

> Released November 16, 2026

Before, a One Click app's code stayed on the server, so you had no way to keep it in your own repository or ship your own changes. Now you can connect the app to GitHub from its new **Git** page, and every push to the repository updates the app.

**Who it's for:** Developers who run Node.js or PHP One Click apps.

This feature is in beta, so the **Git** page may not show on your account yet.

-   Open the app and click **Git** in the site menu. xCloud pushes the app's files as the first commit, without the `.env` file, so your passwords and keys stay on the server.
-   Pick your connected GitHub account. xCloud can create a new private repository for you, or use an empty one you already have.
-   The deploy script is prefilled with the app's install and build steps, so a push builds the app the same way its template did.
-   **App Actions** shows **Deploy from Git** instead of **Redeploy**, and the **Environment** page button reads **Save & Restart**.
-   The app shows as running after a successful deploy.
-   This is one-way: once connected, the app stops receiving template updates, even if you disconnect the repository later.
-   Setup needs a team role that can manage both the site's Git page and its deploy scripts.
-   One Click apps that run with Docker Compose don't have a **Git** page and work as before.

[How to Connect a One Click App to a Git Repository in xCloud](/docs/connect-a-one-click-app-to-a-git-repository-in-xcloud/)
