Skip to content

Create or connect a Git repository

Track application files in Git without exposing repository credentials.

Where Tools → Files → Git™ Version Control

Before you start

  • Have the repository URL and an authorised deployment method. Do not put a password or token in a screenshot.
  • Choose a repository path outside public files when the repository contains private configuration.

Steps

  1. 1

    Choose whether to clone an existing repository or create a new local repository. Supply the repository URL only for a clone.

  2. 2

    Set Repository Path and Repository Name. Check the path is not an existing live folder you intend to preserve unchanged.

  3. 3

    Create the repository and wait for the clone/initialisation to finish. Resolve authentication or permission errors without repeatedly submitting.

  4. 4

    Use Manage on the repository to review branches and the deployment options offered. Pulling code and deploying it to a live website are separate operations; use the project’s documented deployment process.

  5. 5

    Open Git™ Version Control and click Create.

    Create adds a repository; Manage appears after a repository exists.

Check it worked

  • Confirm the repository appears with the correct path and branch.
  • Check the expected files and application after an intentional deployment. Do not expose .git or secrets publicly.