Articles on: Hosting

Managing Git Repositories in Plesk

 Overview

The Git integration tool in your Thamara hosting (Plesk) allows developers and website owners to deploy code directly from Git repositories like GitHub, GitLab, or Bitbucket — without needing to upload files manually via FTP.

This is ideal for managing updates, collaborating with teams, and maintaining version control for your web projects.


 Access the Git Tool

  1. Log in to your Plesk Dashboard → open your domain.
  2. In the left sidebar, click on “Websites & Domains” >> Dashboard under the Files & Databases >> Dev Tools section.
    • If it’s not visible, your hosting plan might not include Git — contact Thamara Support to enable it


 Create a New Git Repository

You’ll have two main options:

A. Clone an existing repository

  • Choose “Remote Git hosting”
  • Enter the Git URL (e.g., https://github.com/username/project.git)
  • Select the deployment mode:
    • Automatic deployment: every push triggers deployment
    • Manual deployment: You choose when to deploy

B. Create a local repository

  • Plesk will create a Git repo inside your hosting (usually in /httpdocs/.git/)
  • You can connect to it later using your local Git client.


 Configure Deployment Path

  • Set the deployment directory (e.g., /httpdocs for your website.
  • Plesk will automatically pull the code to that directory when you deploy.

 

Deploy the Website

  1. Push your code to the connected Git branch.
  2. Go back to Plesk → click Pull Updates or Deploy.
  3. Your files will instantly update in your site’s folder.

 View Logs & Manage Branches

  • You can check commit logs, switch branches, and manage deployment settings directly from the Git panel.
  • Click Repository Settings for advanced options (hooks, auto-deploy, etc.)

 Tips from Thamara Support

  • Keep your deployment directory clean — avoid pushing unnecessary files.
  • Use branch-based deployments for staging and production sites.
  • Always test before enabling automatic deployment.

Updated on: 07/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!