Step 1: Login to the Plesk panel with your admin login credentials.
Step 2: Click the Website and Domain section, and then select the domain for which you are going to configure a remote Git repository.
Step 3: Click the Git. In the Add Git Repository section, select the ‘Remote Git hosting like GitHub or BitBucket’ option.
Step 4: Provide the remote git repository URL in the Remote Git Repository section.
Step 5: Click automatically deploy and then select the deployment mode for the repository, and then click OK.
Step 6: Click /httpdocs/ to select the directory where you want to deploy the remote directory files, then click OK.
Step 7: Click OK. Now the remote directory is copied into your local directory.