{"id":7198,"date":"2026-06-22T11:42:43","date_gmt":"2026-06-22T11:42:43","guid":{"rendered":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?p=7198"},"modified":"2026-06-24T12:44:15","modified_gmt":"2026-06-24T12:44:15","slug":"how-to-set-up-a-git-repository-in-plesk","status":"publish","type":"post","link":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html","title":{"rendered":"How to Set Up a Git Repository in Plesk?"},"content":{"rendered":"\n<p>Managing website files manually can become challenging as your project grows. Uploading files one by one through FTP, tracking changes, and coordinating updates with team members often leads to confusion and mistakes.<\/p>\n\n\n\n<p>This is where Git comes in!<\/p>\n\n\n\n<p>Plesk includes a built-in Git extension that allows developers and website owners to connect their websites directly with Git repositories. This makes deploying updates faster, safer, and more organized. So, whether you are working on a personal website, a business application, or a collaborative development project, Git integration in Plesk can simplify your workflow significantly.<\/p>\n\n\n\n<p>In this guide, you will learn how to set up both Remote and Local Git Repositories in Plesk.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/473\/how-to-install-plesk-on-linux-server.html\"><strong>How to Install Plesk on a Linux Server?<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Understanding Repository Types in Plesk<\/strong><\/h2>\n\n\n\n<p>Plesk supports two types of Git repositories:<\/p>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>\u27a2 Remote Repository<\/strong><\/p>\n\n\n\n<p>A repository hosted externally on platforms such as:<\/p>\n\n\n\n<ul style=\"margin-left:24px;\">\n<li>GitHub<\/li>\n<li>GitLab<\/li>\n<li>Bitbucket<\/li>\n<li>Self-hosted Git servers<\/li>\n<\/ul>\n\n\n\n<p>Plesk connects to the repository and pulls updates when needed.<\/p>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>\u27a2 Local Repository<\/strong><\/p>\n\n\n\n<p>A repository created directly on the Plesk server where developers can push changes directly to the hosting server without using a third-party Git provider.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Before You Begin<\/strong><\/h2>\n\n\n\n<p>Before configuring Git in Plesk, ensure you have:<\/p>\n\n\n\n<ul>\n    <li style=\"margin-left:24px;\">Access to your Plesk Panel<\/li>\n    <li style=\"margin-left:24px;\">An active website subscription<\/li>\n    <li style=\"margin-left:24px;\">The Git extension is installed in Plesk<\/li>\n    <li style=\"margin-left:24px;\">Repository access credentials (for remote repositories)<\/li>\n    <li style=\"margin-left:24px;\">SSH access if required<\/li>\n<\/ul>\n\n\n\n<div style=\"border: 1px solid #faf4ff; padding: 18px 24px; background-color: #faf4ff; width: 730px;\">\n  <p style=\"margin: 0 0 10px 0;\">\n    <strong>\u2605 Useful Tip<\/strong>\n  <\/p>\n\n  <p style=\"margin: 0 0 10px 0;\">\n   For production websites, consider testing deployments in a staging environment before publishing changes to visitors.\n  <\/p>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/410\/how-to-install-wordpress-in-plesk.html\"><strong>How to Install WordPress Using Plesk Panel?<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 1: Setting Up a Remote Git Repository in Plesk<\/strong><\/h3>\n\n\n\n<p>Follow the steps below to connect and deploy a Git repository through Plesk.<\/p>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 Log in to Plesk using your username and password.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"247\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png\" alt=\"plesk-login\" class=\"wp-image-7213\"\/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Navigate to Git by <strong>\u2018Websites &#038; Domains \u2192 Git\u2019<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"240\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git.png\" alt=\"navigate-to-git\" class=\"wp-image-7216\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git.png 604w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git-300x119.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Select <strong>\u2018Add Repository\u2019<\/strong> to begin creating a new Git connection.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"393\" height=\"344\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository.png\" alt=\"add-repository\" class=\"wp-image-7219\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository.png 393w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository-300x263.png 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Choose the option to connect to a <strong>\u2018Remote repository.\u2019<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"159\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect-to-remote-repository.png\" alt=\"connect-to-remote-repository\" class=\"wp-image-7222\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect-to-remote-repository.png 664w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect-to-remote-repository-300x72.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 You have to provide the repository URL.<\/p>\n\n\n\n<p style=\"margin-left: 59px;\"><strong>\u2605 Examples:<\/strong><\/p>\n\n<ul>\n    <li style=\"margin-left: 68px;\"><strong>HTTPS:<\/strong><\/li>\n<\/ul>\n<p style=\"margin-left:59px;\">\n    https:\/\/github.com\/username\/project.git\n<\/p>\n\n<ul>\n    <li style=\"margin-left: 68px;\"><strong>SSH:<\/strong><\/li>\n<\/ul>\n<p style=\"margin-left:59px;\">\n    git@github.com\/project.git\n<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"142\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository_URL.png\" alt=\"repository_URL\" class=\"wp-image-7241\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository_URL.png 421w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository_URL-300x101.png 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/figure>\n<\/div>\n\n\n<p>The repository URL tells Plesk where to retrieve your project files from.<\/p>\n\n\n\n<div style=\"border: 1px solid #faf4ff; padding: 18px 24px; background-color: #faf4ff; width: 730px;\">\n  <p style=\"margin: 0 0 10px 0;\">\n    <strong>\u2605 Useful Tip<\/strong>\n  <\/p>\n\n  <p style=\"margin: 0 0 10px 0;\">\n   SSH-based connections are generally preferred for private repositories because they offer stronger security and easier authentication management.\n  <\/p>\n<\/div>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 If your repository is private, configure:<\/p>\n<ul>\n    <li style=\"margin-left: 68px;\">SSH Keys<\/li>\n    <li style=\"margin-left: 68px;\">Personal Access Tokens<\/li>\n    <li style=\"margin-left: 68px;\">Username and Password (if supported)<\/li>\n<\/ul>\n\n\n\n<p>This authentication grants Plesk permission to access the repository.<\/p>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 Select the directory where repository files should be deployed.<\/p>\n<p style=\"margin-left: 45px;\"><strong>Commonly:<\/strong> httpdocs\/<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"118\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory.png\" alt=\"select-directory\" class=\"wp-image-7261\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory.png 394w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory-300x90.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Click <strong>&#8216;Create Repository&#8217;<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"47\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/create_repository.png\" alt=\"create_repository\" class=\"wp-image-7266\"\/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Now, it\u2019s time to verify the repository connection where you have to review:<\/p>\n<ul>\n    <li style=\"margin-left: 68px;\">Active branch<\/li>\n    <li style=\"margin-left: 68px;\">Latest commit<\/li>\n    <li style=\"margin-left: 68px;\">Repository status<\/li>\n    <li style=\"margin-left: 68px;\">Deployment settings<\/li>\n<\/ul>\n<p style=\"margin-left: 24px;\">\u2794 Click <strong>\u2018Deploy Now\u2019<\/strong> and this publishes the latest repository files to your website.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"148\" height=\"51\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/click_on_deploy-now.png\" alt=\"click_on_deploy now\" class=\"wp-image-7271\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/400\/How-to-create-nameserver-in-plesk.html\"><strong>How to Create Nameserver in the Plesk Panel?<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 2: Creating a Local Git Repository in Plesk<\/strong><\/h3>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 Log in to Plesk using your username and password.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"247\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk-1.png\" alt=\"Login_plesk\" class=\"wp-image-7276\"\/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Navigate to Git by <strong>\u2018Websites &#038; Domains \u2192 Git\u2019<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"240\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git-1.png\" alt=\"navigate-to-git\" class=\"wp-image-7279\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git-1.png 604w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/navigate-to-git-1-300x119.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Select <strong>\u2018Add Repository\u2019<\/strong> to begin creating a new Git connection.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"393\" height=\"344\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository-1.png\" alt=\"add-repository\" class=\"wp-image-7282\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository-1.png 393w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/add-repository-1-300x263.png 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Choose the option to connect to a <strong>\u2018Local repository.\u2019<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"666\" height=\"159\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect_to_local_repo.png\" alt=\"connect_to_local_repo\" class=\"wp-image-7285\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect_to_local_repo.png 666w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/connect_to_local_repo-300x72.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Plesk automatically generates a repository location.<\/p>\n<p style=\"margin-left: 64px;\"><strong>\u2605 Example:<\/strong><\/p>\n\n\n\n<p style=\"margin-left: 54px;\">\/var\/www\/vhosts\/example.com\/git\/<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"89\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository-location.png\" alt=\"repository-location\" class=\"wp-image-7293\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository-location.png 405w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/repository-location-300x66.png 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 54px;\">This location stores Git history, commits, branches, and repository data.<\/p>\n<p style=\"margin-left: 24px;\">\u2794 Now, you have to specify the deployment directory by selecting the directory where website files should be published.<\/p>\n<p style=\"margin-left: 45px;\"><strong>Commonly:<\/strong> httpdocs\/<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"118\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory-1.png\" alt=\"select-directory\" class=\"wp-image-7299\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory-1.png 394w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/select-directory-1-300x90.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Click <strong>\u2018Create.\u2019<\/strong> &#038; Plesk will generate the repository and provide its Git URL.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"47\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/create_repository-1.png\" alt=\"Create-repo\" class=\"wp-image-7302\"\/><\/figure>\n<\/div>\n\n\n<p style=\"margin-left: 24px;\">\u2794 Now, you have to clone the repository on your computer by opening terminal or Git bash and run:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>git clone ssh:\/\/user@example.com\/repository.git\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 Now, you have to add project files by placing your website files inside the cloned repository.<\/p>\n\n\n\n<p><strong>Then execute:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>git add .<br>\ngit commit -m &#8220;Initial Commit&#8221;\n\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 At last, push changes to the server by running<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span>\n    <table class=\"has-fixed-layout\">\n        <tbody>\n            <tr>\n                <td class=\"kb_firewall\"><strong><strong>git push origin master\n\n<\/strong><\/strong><\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/figure>\n\n\n\n<p style=\"margin-left: 24px;\">\u2794 Deploy the Repository by returning to Plesk and clicking <strong>\u2018Deploy.\u2019<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/390\/How-to-Import-Database-in-Plesk-Panel.html\"><strong>How to Import Database in Plesk Panel?<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Git Issues and Troubleshooting<\/strong><\/h2>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>1. Authentication Failed<\/strong><\/p>\n\n\n\n<p><strong>Possible Causes<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Incorrect credentials<\/li>\n    <li style=\"margin-left: 20px;\">Missing SSH keys<\/li>\n    <li style=\"margin-left: 20px;\">Expired access token<\/li>\n<\/ul>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Verify repository permissions and authentication settings.<\/li>\n<\/ul>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>2. Repository Not Updating<\/strong><\/p>\n\n\n\n<p><strong>Possible Causes<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Changes were not committed<\/li>\n    <li style=\"margin-left: 20px;\">Changes were not pushed<\/li>\n    <li style=\"margin-left: 20px;\">Incorrect branch selected<\/li>\n<\/ul>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Confirm the latest commits exist in the configured branch.<\/li>\n<\/ul>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>3. Deployment Fails<\/strong><\/p>\n\n\n\n<p><strong>Possible Causes<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Incorrect deployment path<\/li>\n    <li style=\"margin-left: 20px;\">File permission issues<\/li>\n    <li style=\"margin-left: 20px;\">Insufficient server access<\/li>\n<\/ul>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Review deployment settings and server permissions.<\/li>\n<\/ul>\n\n\n\n<p style=\"margin-left: 24px;\"><strong>4. Website Not Showing Changes<\/strong><\/p>\n\n\n\n<p><strong>Possible Causes<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Deployment not executed<\/li>\n    <li style=\"margin-left: 20px;\">Browser caching<\/li>\n    <li style=\"margin-left: 20px;\">CDN caching<\/li>\n<\/ul>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<ul>\n    <li style=\"margin-left: 20px;\">Deploy again and clear the cache before testing.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/331\/How-to-Delete-FTP-Account-in-Plesk-Panel.html\"><strong>How to Delete FTP Account in Plesk Panel?<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n    <div class=\"blg-advrt-main blg-prm-bx\">\n        <div class=\"row\" style=\"display: flex; justify-content: space-evenly; align-items: center;\">\n            <div class=\"col-md-5\">\n                <div class=\"blg-advrt-first blg-advrt-right\">\n                    <img decoding=\"async\" src=\"https:\/\/www.hostitsmart.com\/assets\/images\/Knowledgebase\/windows-hosting.png\" alt=\"windows-hosting\" \/>\n                <\/div>\n            <\/div>\n            <div class=\"col-md-7\">\n                <div class=\"blg-advrt-first blg-advrt-left\">\n                    <div class=\"blg_advrt_cnt\">\n                        Deploy, Develop &amp; Manage with \nPowerful Windows Hosting                    <\/div>\n                    <p>\n                        Why Choose Host IT Smart\u2019s Cheap Hosting with Free .com Domain?                    <\/p>\n                    <div class=\"blg-advrt-first-btn affl-blg-btn\">\n                        <a href=\"https:\/\/www.hostitsmart.com\/hosting\/windows-hosting\">\n                            Get a Windows Hosting                        <\/a>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    \n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Git integration in Plesk provides a modern and efficient way to manage website deployments. Whether you choose a Remote Repository hosted on GitHub, GitLab, or Bitbucket, or create a Local Repository directly on the server, Git helps streamline updates, track changes, and improve collaboration.<\/p>\n\n\n\n<p>For most development teams, remote repositories offer greater flexibility and scalability. However, local repositories remain a practical solution for internal projects and environments where external Git services are not required.<\/p>\n\n\n\n<p>By following the steps in this guide, you can successfully configure Git in Plesk and establish a more reliable workflow for managing your website files and deployments.<\/p>\n\n\n\n<script>\nfunction copyCommand(btn) {\n  const td = btn.parentElement.querySelector(\"td.kb_firewall\");\n  const text = td.innerText.trim();\n\n  navigator.clipboard.writeText(text).then(() => {\n    const msg = btn.parentElement.querySelector(\".copy-msg\");\n    msg.style.display = \"inline-block\";\n    setTimeout(() => msg.style.display = \"none\", 1000);\n  });\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Managing website files manually can become challenging as your project grows. Uploading files one by one through FTP, tracking changes, and coordinating updates with team members often leads to confusion and mistakes. This is where Git comes in! Plesk includes a built-in Git extension that allows developers and website owners to connect their websites directly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-7198","post","type-post","status-publish","format-standard","hentry","category-plesk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up a Git Repository in Plesk?<\/title>\n<meta name=\"description\" content=\"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories &amp; deploy code efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up a Git Repository in Plesk?\" \/>\n<meta property=\"og:description\" content=\"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories &amp; deploy code efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-22T11:42:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-24T12:44:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png\" \/>\n\t<meta property=\"og:image:width\" content=\"301\" \/>\n\t<meta property=\"og:image:height\" content=\"247\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html\",\"name\":\"How to Set Up a Git Repository in Plesk?\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png\",\"datePublished\":\"2026-06-22T11:42:43+00:00\",\"dateModified\":\"2026-06-24T12:44:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\"},\"description\":\"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories & deploy code efficiently.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png\",\"contentUrl\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png\",\"width\":301,\"height\":247},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up a Git Repository in Plesk?","description":"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories & deploy code efficiently.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html","og_locale":"en_US","og_type":"article","og_title":"How to Set Up a Git Repository in Plesk?","og_description":"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories & deploy code efficiently.","og_url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2026-06-22T11:42:43+00:00","article_modified_time":"2026-06-24T12:44:15+00:00","og_image":[{"width":301,"height":247,"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png","type":"image\/png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html","name":"How to Set Up a Git Repository in Plesk?","isPartOf":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage"},"image":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage"},"thumbnailUrl":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png","datePublished":"2026-06-22T11:42:43+00:00","dateModified":"2026-06-24T12:44:15+00:00","author":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108"},"description":"Learn to set up a Git repository in Plesk with this step-by-step guide. Connect remote repositories, create local Git repositories & deploy code efficiently.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/513\/setup-git-repository-in-plesk.html#primaryimage","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png","contentUrl":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2026\/06\/Login-plesk.png","width":301,"height":247},{"@type":"WebSite","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/7198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=7198"}],"version-history":[{"count":136,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/7198\/revisions"}],"predecessor-version":[{"id":7399,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/7198\/revisions\/7399"}],"wp:attachment":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=7198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=7198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=7198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}