{"id":13351,"date":"2025-12-20T10:32:42","date_gmt":"2025-12-20T05:02:42","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=13351"},"modified":"2025-12-20T10:32:44","modified_gmt":"2025-12-20T05:02:44","slug":"how-to-setup-git-on-linux-server","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/how-to-setup-git-on-linux-server","title":{"rendered":"How to Setup Git on Linux Server in 2026 &#8211; Step By Step Guide"},"content":{"rendered":"\n<p><strong>To set up Git on a Linux server<\/strong>, install Git via your distro\u2019s package manager, configure your user identity, secure SSH access, and create a bare repository for centralized collaboration. Then add your remote, clone from clients, and push changes. This guide walks you through installation, configuration, security, and best practices end-to-end.<\/p>\n\n\n\n<p>If you\u2019re wondering how to set up Git on a Linux server safely and correctly, you\u2019re in the right place. In this step-by-step guide, we\u2019ll install Git, configure it for the first time, enable SSH authentication, create a proper bare repository, and apply security best practices so your team can push and pull confidently.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"prerequisites-and-what-youll-build\"><strong>Prerequisites and What You\u2019ll Build<\/strong><\/h2>\n\n\n\n<p>This tutorial is optimized for the primary keyword: how to set up Git on a <a href=\"https:\/\/www.youstable.com\/blog\/install-iptables-on-linux\/\">Linux server<\/a>. We\u2019ll cover Debian\/Ubuntu, RHEL\/CentOS\/AlmaLinux\/Rocky, Fedora, openSUSE, and Arch. You\u2019ll set up a Git-only user, a secure SSH workflow, and a production-ready bare repository that multiple developers can use as a central remote.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-1-install-git-on-your-linux-server\"><strong>Step 1: Install Git on Your Linux Server<\/strong><\/h2>\n\n\n\n<p>Update your repositories and install Git using your distribution\u2019s package manager. This ensures you get verified binaries and resolves dependencies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"debian-ubuntu\"><strong>Debian\/Ubuntu<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install -y git\ngit --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"rhel-centos-almalinux-rocky\"><strong>RHEL\/CentOS\/AlmaLinux\/Rocky<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># On older RHEL\/CentOS:\nsudo yum install -y git\n\n# On RHEL 8+\/Alma\/Rocky:\nsudo dnf install -y git\ngit --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"fedora\"><strong>Fedora<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y git\ngit --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"opensuse\"><strong>openSUSE<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo zypper refresh\nsudo zypper install -y git\ngit --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"arch-linux\"><strong>Arch Linux<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pacman -Syu --noconfirm git\ngit --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"installing-the-latest-git-from-source-optional\"><strong>Installing the Latest Git from Source (Optional)<\/strong><\/h2>\n\n\n\n<p>Distros sometimes lag behind the latest Git. Compile from source if you need the newest features or performance fixes.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Build requirements (examples)\n# Debian\/Ubuntu:\nsudo apt update &amp;&amp; sudo apt install -y make gcc libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip\n\n# RHEL\/Alma\/Rocky\/Fedora:\nsudo dnf groupinstall -y \"Development Tools\"\nsudo dnf install -y curl-devel expat-devel openssl-devel perl-CPAN gettext-devel\n\n# Download and build\ncd \/usr\/src\nsudo curl -LO https:\/\/mirrors.edge.kernel.org\/pub\/software\/scm\/git\/git-2.46.0.tar.xz\nsudo tar -xf git-2.46.0.tar.xz\ncd git-2.46.0\nsudo make prefix=\/usr\/local all\nsudo make prefix=\/usr\/local install\n\n# Verify\ngit --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-2-configure-git-global-settings\"><strong>Step 2: Configure Git (Global Settings)<\/strong><\/h2>\n\n\n\n<p>Set your identity and sensible defaults. These values apply system-wide for your user and are required for commits.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config --global user.name \"Your Name\"\ngit config --global user.email \"you@example.com\"\n\n# Recommended quality-of-life settings\ngit config --global init.defaultBranch main\ngit config --global color.ui auto\ngit config --global core.editor \"nano\"   # or vim\n\n# If working cross-platform with Windows users:\ngit config --global core.autocrlf input  # Linux\/macOS safe default<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-3-set-up-ssh-keys-for-secure-access\"><strong>Step 3: Set Up SSH Keys for Secure Access<\/strong><\/h2>\n\n\n\n<p>SSH keys offer secure, passwordless authentication. Generate a key pair on your client machine (developer workstation) and place the public key on the server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># On your client machine:\nssh-keygen -t ed25519 -C \"you@example.com\"\n# Press Enter to accept defaults and set a passphrase\n\n# Copy the public key to the server:\nssh-copy-id -i ~\/.ssh\/id_ed25519.pub user@your-server-ip\n\n# Test:\nssh -T user@your-server-ip<\/code><\/pre>\n\n\n\n<p>If ssh-copy-id isn\u2019t available, paste the output of <code>cat ~\/.ssh\/id_ed25519.pub<\/code> into <code>~\/.ssh\/authorized_keys<\/code> on the server, then set secure permissions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/.ssh\nchmod 700 ~\/.ssh\necho \"ssh-ed25519 AAAA... you@example.com\" &gt;&gt; ~\/.ssh\/authorized_keys\nchmod 600 ~\/.ssh\/authorized_keys<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-4-create-a-git-only-user-and-a-bare-repository\"><strong>Step 4: Create a Git-Only User and a Bare Repository<\/strong><\/h2>\n\n\n\n<p>A bare repository stores Git data without a working tree and is ideal for a central server. We\u2019ll create a restricted \u201cgit\u201d user and lock it to <code>git-shell<\/code> so it can only run Git commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Create a system user for Git hosting\nsudo adduser \\\n  --system \\\n  --shell \/usr\/bin\/git-shell \\\n  --group \\\n  --home \/srv\/git \\\n  git\n\n# Create a bare repository\nsudo -u git mkdir -p \/srv\/git\nsudo -u git git init --bare \/srv\/git\/project.git\n\n# Optionally set a description\necho \"Project repo\" | sudo tee \/srv\/git\/project.git\/description\n\n# Ensure proper permissions\nsudo chown -R git:git \/srv\/git\/project.git<\/code><\/pre>\n\n\n\n<p>Add developers\u2019 public keys to the <code>git<\/code> user\u2019s <code>authorized_keys<\/code> file so they can push\/pull:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -u git mkdir -p \/srv\/git\/.ssh\nsudo -u git touch \/srv\/git\/.ssh\/authorized_keys\nsudo chmod 700 \/srv\/git\/.ssh\nsudo chmod 600 \/srv\/git\/.ssh\/authorized_keys\n\n# Append each developer's public key\n# e.g., echo \"ssh-ed25519 AAAA... dev@laptop\" | sudo tee -a \/srv\/git\/.ssh\/authorized_keys<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-5-clone-and-push-from-a-client\"><strong>Step 5: Clone and Push from a Client<\/strong><\/h2>\n\n\n\n<p>On a developer machine, clone the repository <a href=\"https:\/\/www.youstable.com\/blog\/how-to-connect-to-server-via-ssh\/\">via SSH<\/a>, create work, and push to the central server. Replace the IP or hostname accordingly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># From developer workstation:\ngit clone git@your-server-ip:\/srv\/git\/project.git\ncd project\n\n# Add code and push\necho \"# Demo\" &gt; README.md\ngit add README.md\ngit commit -m \"Initial commit\"\ngit push -u origin main<\/code><\/pre>\n\n\n\n<p>If the default branch is not <code>main<\/code> and you want it to be, run <code>git symbolic-ref HEAD refs\/heads\/main<\/code> inside the bare repo before the first push, or set <code>init.defaultBranch<\/code> globally as shown earlier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"optional-smart-http-with-apache-or-nginx\"><strong>Optional: Smart HTTP with Apache or NGINX<\/strong><\/h2>\n\n\n\n<p>SSH is the simplest approach. If you must serve Git over HTTP(S), enable <code>git-http-backend<\/code>. Below is a minimal Apache example. Use HTTPS in production and restrict access with HTTP auth or OAuth.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Apache example (Debian\/Ubuntu):\nsudo a2enmod cgi alias env\nsudo tee \/etc\/apache2\/conf-available\/git.conf &gt; \/dev\/null &lt;&lt;'EOF'\nSetEnv GIT_PROJECT_ROOT \/srv\/git\nSetEnv GIT_HTTP_EXPORT_ALL\nScriptAlias \/git\/ \/usr\/lib\/git-core\/git-http-backend\/\n\n&lt;Directory \"\/srv\/git\"&gt;\n    Options FollowSymLinks\n    AllowOverride None\n    Require all granted\n&lt;\/Directory&gt;\nEOF\n\nsudo a2enconf git\nsudo systemctl reload apache2<\/code><\/pre>\n\n\n\n<p>With this, repositories appear at <code>https:\/\/your-domain\/git\/project.git<\/code>. Ensure your bare repo has a <code>git-daemon-export-ok<\/code> or use authentication to control access.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"security-best-practices-for-a-git-server\"><strong>Security Best Practices for a Git Server<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use a dedicated <code>git<\/code> user with <code>git-shell<\/code> to restrict commands.<\/li>\n\n\n\n<li>Disable SSH password authentication; allow key-based login only.<\/li>\n\n\n\n<li>Limit SSH to your team\u2019s IPs via firewall (UFW, firewalld) and consider Fail2ban.<\/li>\n\n\n\n<li>Set correct permissions on <code>\/srv\/git<\/code> and <code>~\/.ssh<\/code> files (no world-writable bits).<\/li>\n\n\n\n<li>Keep Git and OpenSSH updated to the latest stable version.<\/li>\n\n\n\n<li>Back up <code>\/srv\/git<\/code> regularly and test restores.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"maintenance-updates-backups-and-hooks\"><strong>Maintenance: Updates, Backups, and Hooks<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Update Git regularly: <code>sudo apt upgrade git<\/code> or <code>sudo dnf upgrade git<\/code>.<\/li>\n\n\n\n<li>Back up the bare repos with rsync or snapshots; store offsite.<\/li>\n\n\n\n<li>Use server-side hooks (e.g., <code>pre-receive<\/code>, <code>update<\/code>, <code>post-receive<\/code>) for CI triggers, branch policies, or notifications.<\/li>\n\n\n\n<li>Monitor disk space and inode usage; Git repositories can grow fast.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-errors\"><strong>Troubleshooting Common Errors<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"permission-denied-publickey\"><strong>Permission denied (publickey)<\/strong><\/h3>\n\n\n\n<p>Ensure your public key is in <code>\/srv\/git\/.ssh\/authorized_keys<\/code>, file permissions are strict (600), and the directory is 700. Test with <code>ssh -v git@server<\/code> to see which keys are offered.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"fatal-could-not-read-from-remote-repository\"><strong>fatal: Could not read from remote repository<\/strong><\/h3>\n\n\n\n<p>Verify the repository path (<code>\/srv\/git\/project.git<\/code>), ownership (<code>git:git<\/code>), and that the repo is bare. Confirm SSH connectivity and correct remote URL.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"non-fast-forward-updates-rejected\"><strong>non-fast-forward updates rejected<\/strong><\/h3>\n\n\n\n<p>Pull or fetch and rebase\/merge locally before pushing. Enforce protected branches with server-side hooks or in your Git platform.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"git-command-not-found\"><strong>git: command not found<\/strong><\/h3>\n\n\n\n<p>Git may not be installed for non-interactive shells. Ensure <code>\/usr\/bin<\/code> or <code>\/usr\/local\/bin<\/code> is in <code>PATH<\/code> for the <code>git<\/code> user and that installation paths match your build.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"real-world-tips-from-hosting-experience\"><strong>Real-World Tips from Hosting Experience<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use separate repositories per project; avoid monolithic repos for unrelated code.<\/li>\n\n\n\n<li>For teams, consider Forgejo\/Gitea\/GitLab for web UI, permissions, and CI\u2014host them on your <a href=\"https:\/\/www.youstable.com\/blog\/install-yum-on-linux\/\">Linux server<\/a>.<\/li>\n\n\n\n<li>Snapshot your server before major upgrades; roll back quickly if needed.<\/li>\n\n\n\n<li>Measure clone\/push speed; enable compression or upgrade to NVMe storage for large monorepos.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"when-to-use-managed-infrastructure\"><strong>When to Use Managed Infrastructure<\/strong><\/h2>\n\n\n\n<p>If you want a hassle-free setup with predictable performance, a managed <a href=\"https:\/\/www.youstable.com\/blog\/configure-lets-encrypt-on-linux\/\">Linux VPS or Dedicated Server<\/a> is ideal. At YouStable, our SSD\/NVMe VPS plans, root SSH access, and snapshot backups make hosting Git servers simple, with 24\u00d77 support on hand if you need help securing or scaling your repositories.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs-how-to-set-up-git-on-linux-server\"><strong>FAQs: How to Set Up Git on Linux Server<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765791043455\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-install-git-on-ubuntu-quickly\"><strong>How do I install Git on Ubuntu quickly?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Run <code>sudo apt update &amp;&amp; sudo apt install -y git<\/code> and verify with <code>git --version<\/code>. For the latest Git, use the official PPA or build from source, but the repository version is stable and sufficient for most teams.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765791060909\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"what-is-a-bare-repository-and-why-use-it-on-a-server\"><strong>What is a bare repository and why use it on a server?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>A bare repo contains only Git data without a working directory. It\u2019s designed for central remotes that multiple developers push to. Create it with <code>git init --bare \/srv\/git\/project.git<\/code> and restrict access via SSH keys.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765791072459\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-secure-my-git-server\"><strong>How do I secure my Git server?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use a dedicated <code>git<\/code> user with <code>git-shell<\/code>, disable password SSH logins, enforce key-based auth, keep packages updated, set strict file permissions, and back up repos. Consider a firewall and Fail2ban to reduce brute-force attempts.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765791088944\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"can-i-serve-git-over-https-instead-of-ssh\"><strong>Can I serve Git over HTTPS instead of SSH?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes. Enable <code>git-http-backend<\/code> with Apache or NGINX and use TLS certificates. HTTPS is useful behind corporate proxies. However, SSH is simpler to set up and typically faster for developer workflows.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765791100976\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"whats-the-best-way-to-back-up-git-repositories\"><strong>What\u2019s the best way to back up Git repositories?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Regularly snapshot or rsync the entire <code>\/srv\/git<\/code> directory to offsite storage. For consistency, pause writes during backup (maintenance window) or use filesystem snapshots (LVM\/ZFS) to capture atomic states of active repositories.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Setting up Git on a Linux server is straightforward: install Git, configure global settings, secure SSH, and host a bare repository. With the security and maintenance practices outlined here, you\u2019ll have a reliable remote for your team. Need a fast, secure home for your repos? A YouStable Linux VPS is a battle-tested foundation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To set up Git on a Linux server, install Git via your distro\u2019s package manager, configure your user identity, secure [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":15493,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":0,"footnotes":""},"categories":[350],"tags":[],"class_list":["post-13351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/How-to-Setup-Git-on-Linux-Server.jpg","author_info":{"display_name":"Prahlad Prajapati","author_link":"https:\/\/www.youstable.com\/blog\/author\/prahladblog"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=13351"}],"version-history":[{"count":4,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13351\/revisions"}],"predecessor-version":[{"id":15494,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13351\/revisions\/15494"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/15493"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=13351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=13351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=13351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}