{"id":37510,"date":"2025-04-28T02:21:55","date_gmt":"2025-04-28T02:21:55","guid":{"rendered":"https:\/\/www.wpstaq.com\/?post_type=knowledgebase&#038;p=37510"},"modified":"2025-05-13T01:11:09","modified_gmt":"2025-05-13T01:11:09","slug":"integrating-git-with-staq","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/sg\/knowledgebase\/integrating-git-with-staq\/","title":{"rendered":"Integrating Git for whole site environment"},"content":{"rendered":"<p>Staq now supports Git integration if you have an entire website inside its own Git repository. This means you can manage plugins, themes, and additional files through Git and seamlessly deploy them into your Staq environment.<\/p>\n<p>If you have a plugin or theme in a separate Git repo, please refer to these guides:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-bitbucket-with-staq\/\">Bitbucket &#8211; plugin or theme in its own repo<\/a><\/li>\n<li><a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-github-with-staq\/\">Github &#8211; plugin or theme in its own repo<\/a><\/li>\n<\/ul>\n<h2>Git Integration with WordPress on Staq<\/h2>\n<p>Staq makes it easy to integrate Bitbucket or Github into any environment\u2014production, development, or staging. You can even select which branch to sync!<\/p>\n<h3>How WordPress Git Integration Works on Staq<\/h3>\n<ol>\n<li>Create or migrate your site (dev, staging, or production).<\/li>\n<li>If already live, simply integrate Git into your existing environment.<\/li>\n<li>For staging, create a staging site from the Staq Panel (optionally exclude plugins\/themes if they are managed via Git).<\/li>\n<\/ol>\n<p>Once ready, go to the site&#8217;s Staq Panel \u2192 <strong>Integrations<\/strong> \u2192 <strong>Git<\/strong>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png\" alt=\"Git Integration\" \/><\/p>\n<h3>Step 1 &#8211; Enter Git Details<\/h3>\n<ul>\n<li>Select Git service: GitHub or Bitbucket<\/li>\n<li>Enter repository URL and branch<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-37599\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1.png\" alt=\"\" width=\"884\" height=\"792\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1.png 1726w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1-300x269.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1-1024x918.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1-768x689.png 768w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-repo-integration-step-1-1536x1378.png 1536w\" sizes=\"auto, (max-width: 884px) 100vw, 884px\" \/><\/p>\n<h3>Step 2 &#8211; Add SSH Keys<\/h3>\n<ul>\n<li>Generate and copy the SSH Key.<\/li>\n<li>Paste it into your repository&#8217;s access keys and label it.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/generate-ssh-access-keys.png\" alt=\"SSH Key\" \/><\/p>\n<p>and paste the SSH key here. Also create the label name also:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37518\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/add-ssh-key.png\" sizes=\"auto, (max-width: 1090px) 100vw, 1090px\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/add-ssh-key.png 1090w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/add-ssh-key-300x204.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/add-ssh-key-1024x697.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/add-ssh-key-768x523.png 768w\" alt=\"\" width=\"1090\" height=\"742\" \/><\/p>\n<h3>Step 3 &#8211; Add Webhook<\/h3>\n<ul>\n<li>Copy the webhook URL and add it to the repository&#8217;s webhooks.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-webhook.png\" alt=\"Webhook\" \/><\/p>\n<p>Then, add your webhook URL and follow the prompts:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37520\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/click-webhook.png\" sizes=\"auto, (max-width: 1095px) 100vw, 1095px\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/click-webhook.png 1095w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/click-webhook-300x148.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/click-webhook-1024x507.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/click-webhook-768x380.png 768w\" alt=\"\" width=\"1095\" height=\"542\" \/><\/p>\n<h3>Step 4 &#8211; Final Setting<\/h3>\n<ul>\n<li>Optionally <strong>Disable Auto-Updater <\/strong>which disables the Staq Plugin\/Theme auto-updater for plugin\/theme updates<\/li>\n<li>Disable <strong>Media Uploads Sync<\/strong> feature which disables the media uploads folder syncing from Git to your WordPress environment<\/li>\n<li><strong>Purge Cache After Sync<\/strong> which clears the site&#8217;s front-end cache (includes Staq Cache and WP Rocket) and Redis Object Cache (if enabled)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-37598\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration-existing.png\" alt=\"\" width=\"839\" height=\"732\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration-existing.png 1422w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration-existing-300x262.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration-existing-1024x893.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration-existing-768x670.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>Once the setup has been confirmed inside the Staq interface after clicking <strong>Connect Git<\/strong>, every time you push to the selected branch, the webhook triggers Staq to securely identify the branch and perform a <b>pull<\/b> operation automatically.<\/p>\n<h2>General Actions<\/h2>\n<ul>\n<li><strong>Disconnect Git<\/strong>: Disconnects your site from the Git repository.<\/li>\n<li><strong>Event Logs:\u00a0<\/strong>Allows you to see the history of events Staq listened and performed on your site.<\/li>\n<li><strong>Force Pull:\u00a0<\/strong>Manually triggers a pull and sync request as if your code was pushed.<\/li>\n<li><strong>Save Options:\u00a0<\/strong>Edits the existing options and updates the site&#8217;s behaviour.<\/li>\n<\/ul>\n<h2><b>What Happens Under the Hood?<\/b><\/h2>\n<p>When Git integration is enabled on Staq, the following process takes place to ensure stability, security, and consistency:<\/p>\n<ul>\n<li><b>\/wordpress<\/b> \u2013 This is your live WordPress directory that serves the site.<\/li>\n<li><b>\/wordpress-git<\/b> \u2013 A new isolated directory is created where your Git repository is cloned and updated.<\/li>\n<li>After each Git pull, Staq automatically runs a <b>sync script<\/b> that copies updated files from <b>\/wordpress-git<\/b> into the live <b>\/wordpress<\/b> directory.<\/li>\n<\/ul>\n<p>This separation prevents conflicts between the Git repository and live files, ensuring you have full control over what gets deployed while keeping the live site protected during updates.<\/p>\n<p><b>Important:<\/b> During the sync process, files from <b>\/wordpress-git<\/b> overwrite matching files in <b>\/wordpress<\/b>. Any files not in Git are preserved unless explicitly managed. Core WordPress files and critical server files are automatically protected\u2014see below.<\/p>\n<h2><b>What Files Are Ignored Automatically?<\/b><\/h2>\n<p>For security and consistency, Staq <b>always excludes WordPress core files and hosting-specific files<\/b> from syncing \u2014 even if you mistakenly push them to your Git repository.<\/p>\n<p>Automatically excluded files and directories:<\/p>\n<ul>\n<li># WordPress core files\n<ul>\n<li>wp-includes\/<\/li>\n<li>wp-admin\/<\/li>\n<li>index.php<\/li>\n<li>xmlrpc.php<\/li>\n<li>license.txt<\/li>\n<li>readme.html<\/li>\n<li>wp-*.php<\/li>\n<li>wp-content\/cache\/<\/li>\n<li>wp-content\/*backup*\/<\/li>\n<li>wp-content\/upgrade\/<\/li>\n<li>wp-content\/temp\/<\/li>\n<\/ul>\n<\/li>\n<li># Hosting-specific files\n<ul>\n<li>login.php<\/li>\n<li>.stq_*<\/li>\n<\/ul>\n<\/li>\n<li># Git repository itself\n<ul>\n<li>.git\/<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>This ensures that WordPress core files are always managed by Staq, and no accidental overwrites occur.<\/p>\n<p><b>Note:<\/b> Staq enforces an even stricter policy \u2014 a <b>Core Files Integrity Scanner<\/b> runs regularly to block any modification to core WordPress files, even if changes are made outside Git (via SFTP or plugins).<\/p>\n<h2><b>Optional: Use <code>.deployignore<\/code> to Exclude Additional Files<\/b><\/h2>\n<p>Beyond the automatic exclusions, you can control what files should not sync by adding a <b>.deployignore<\/b> file inside your Git repository.<\/p>\n<p>This follows a simple <b>rsync-compatible pattern<\/b> \u2014 one path per line, with optional comments using <code>#<\/code>.<\/p>\n<p><b>Example <code>.deployignore<\/code> file:<\/b><\/p>\n<pre># Exclude user uploads\r\nwp-content\/uploads\r\n\r\n# Exclude backup folders\r\nwp-content\/*backups*\r\n\r\n# Exclude build artifacts\r\nwp-content\/plugins\/my-plugin\/node_modules\r\n<\/pre>\n<p><b>Strongly recommended:<\/b> Using <code>.deployignore<\/code> helps:<\/p>\n<ul>\n<li>Save disk space and prevent unnecessary storage costs<\/li>\n<li>Keep deployments clean and fast<\/li>\n<li>Avoid syncing large, dynamic content like uploads<\/li>\n<\/ul>\n<h2><b>How to Track Git Syncs<\/b><\/h2>\n<p>Inside Staq Panel \u2192 Git \u2192 Integrations, you can:<\/p>\n<ul>\n<li>View a complete <b>Event Log<\/b> of Git syncs (successful, pending, failed)<\/li>\n<li>Manually <b>Force a Pull<\/b> from Git if needed<\/li>\n<li>Disconnect Git integration if required<\/li>\n<\/ul>\n<h2><b>Does Staq Support Pipelines and CI\/CD?<\/b><\/h2>\n<p>Yes \u2014 Staq supports flexible CI\/CD workflows with both <strong>Bitbucket Pipelines<\/strong> and <strong>GitHub Actions<\/strong>. These tools let you automate your build and deployment processes, such as compiling assets, running tests, and pushing updates.<\/p>\n<p>You have two main options for deploying built assets to your WordPress environment:<\/p>\n<ul>\n<li><strong>Upload built assets via SFTP<\/strong>: During your pipeline (e.g., in Bitbucket Pipelines or a GitHub Action), compile and minify your assets (CSS\/JS), then upload only the final build artifacts to <code>wp-content\/uploads\/<\/code> via SFTP. This approach bypasses Git syncing entirely. This KB shows you the path to access <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/ftp-access\/\">Staq sFTP<\/a>.<\/li>\n<li><strong>Commit built assets back to Git<\/strong>: Alternatively, you can compile assets within your CI\/CD pipeline, commit the compiled files into your Git repository (e.g., into a <code>build\/<\/code> or <code>dist\/<\/code> directory), and push the changes. Staq will then automatically pull and sync the updated Git branch to your site.<\/li>\n<\/ul>\n<p>This flexibility allows teams to use the CI\/CD tools they&#8217;re most comfortable with \u2014 whether you&#8217;re using <strong>Bitbucket Pipelines<\/strong> to run custom scripts or <strong>GitHub Actions<\/strong> to automate deployments, Staq adapts to your workflow.<\/p>\n<h2><b>Special Git Files Supported by Staq<\/b><\/h2>\n<p>Staq recognizes a special script: <b>.stq_postdeploy<\/b> inside your Git repo.<\/p>\n<ul>\n<li>After each Git pull, if a <b>.stq_postdeploy<\/b> file is detected, it runs each command inside it automatically.<\/li>\n<li>Commands are executed safely within your site\u2019s container directory (e.g., <code>\/var\/www\/sites\/[app]\/<\/code>).<\/li>\n<li>Each command must be on a separate line. Lines starting with <code>#<\/code> are treated as comments.<\/li>\n<\/ul>\n<p><b>Example <code>.stq_postdeploy<\/code> file:<\/b><\/p>\n<pre># Activate a plugin\r\nwp plugin activate my-custom-plugin\r\n\r\n<\/pre>\n<p><b>Note:<\/b> Only approved safe commands (mostly WP-CLI commands) are permitted. Contact support if you need additional options.<\/p>\n<h2><b>How Are Composer Dependencies Handled?<\/b><\/h2>\n<p>After each Git pull, Staq automatically:<\/p>\n<ul>\n<li>Scans all <code>wp-content\/plugins\/*\/<\/code> and <code>wp-content\/themes\/*\/<\/code> folders for <code>composer.json<\/code> files<\/li>\n<li>Runs <b>composer install<\/b> inside each detected directory<\/li>\n<\/ul>\n<p>This ensures your plugin and theme dependencies are automatically installed and ready \u2014 no manual steps needed!<\/p>\n<h2><b>Summary<\/b><\/h2>\n<ul>\n<li><b>Simple and secure Git integration<\/b> built for WordPress at scale<\/li>\n<li><b>WordPress core files are fully protected<\/b><\/li>\n<li><b>.deployignore<\/b> and <b>.stq_postdeploy<\/b> offer total control over deployments<\/li>\n<li><b>Composer dependencies are automatically managed<\/b><\/li>\n<li>Full Git event logs and manual pull options in Staq Panel<\/li>\n<li><b>Compatible with CI\/CD and pipeline workflows<\/b><\/li>\n<\/ul>\n","protected":false},"featured_media":0,"parent":0,"template":"","class_list":["post-37510","knowledgebase","type-knowledgebase","status-publish","hentry","categories-deployment","categories-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrating Git for whole site environment - Managed Hosting Platform for WordPress<\/title>\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.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating Git for whole site environment - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"Staq now supports Git integration if you have an entire website inside its own Git repository. This means you can manage plugins, themes, and additional files through Git and seamlessly deploy them into your Staq environment. If you have a plugin or theme in a separate Git repo, please refer to these guides: Bitbucket &#8211;&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-13T01:11:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/\",\"name\":\"Integrating Git for whole site environment - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/git-integration.png\",\"datePublished\":\"2025-04-28T02:21:55+00:00\",\"dateModified\":\"2025-05-13T01:11:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/git-integration.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/git-integration.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/integrating-git-with-staq\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrating Git for whole site environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating Git for whole site environment - Managed Hosting Platform for WordPress","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.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/","og_locale":"en_US","og_type":"article","og_title":"Integrating Git for whole site environment - Managed Hosting Platform for WordPress","og_description":"Staq now supports Git integration if you have an entire website inside its own Git repository. This means you can manage plugins, themes, and additional files through Git and seamlessly deploy them into your Staq environment. If you have a plugin or theme in a separate Git repo, please refer to these guides: Bitbucket &#8211;&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2025-05-13T01:11:09+00:00","og_image":[{"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/","name":"Integrating Git for whole site environment - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png","datePublished":"2025-04-28T02:21:55+00:00","dateModified":"2025-05-13T01:11:09+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2025\/04\/git-integration.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-git-with-staq\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"Integrating Git for whole site environment"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase\/37510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=37510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}