With a remote Git repository in Plesk, you can pull files from a Git hosting platform, like GitHub or Bitbucket, directly to your website. Follow these steps:
Step 1: Log in to Plesk
- Log in to your Plesk control panel.

Step 2: Go to Websites & Domains
- In the left sidebar, click Websites & Domains to display all domains.

Step 3: Open Git Setup
- Locate the domain where you want to set up Git, and click the Git icon to open the repository setup page.

Step 4: Configure Remote Repository
- On the Add Git Repository page, ensure Remote Git hosting is selected.
- Enter the Remote Git repository URL (e.g., the URL to your GitHub repository).
- Choose your Deployment Mode (e.g., “automatically deployed” for automatic updates or “manual” if you prefer manual deployment).
- Specify the Deployment Directory by selecting the local directory where you want the files to be deployed.

Step 5: Confirm and Clone Repository
- Click OK to start cloning the remote repository. Plesk will pull the code into the specified directory, and the deployment mode you selected will dictate how updates are handled.
