{"id":5646431,"date":"2022-06-27T05:31:08","date_gmt":"2022-06-27T09:31:08","guid":{"rendered":"https:\/\/lightning.ai\/pages\/?p=5646431"},"modified":"2022-09-10T11:12:31","modified_gmt":"2022-09-10T15:12:31","slug":"git-branching","status":"publish","type":"post","link":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/","title":{"rendered":"EP 07: Git Branching"},"content":{"rendered":"<p>In this Lightning Bits episode, William and Sebastian talk about one of the most powerful features of Git: branching. They discuss how branching can be used to manage alternate versions of your code, which is incredibly useful for developing and testing new features. Watch the video, or continue reading below.<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/tzJDZY1x31I\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Managing Code Projects with Git Branching<\/h2>\n<p>In the previous episode, we covered the basic concepts and commands behind Git for version control. If you haven&#8217;t watched the\u00a0<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/lightning.ai\/pages\/blog\/version-control-using-git\/\" target=\"_blank\" rel=\"noopener\"><u>previous episode<\/u><\/a><\/span>, we recommend checking it out before continuing reading.<\/p>\n<h3>Git Branching &#8212; Why?<\/h3>\n<p>In the more traditional workflow, we would create a copy of a file before we make a modification &#8212; here, this could be a code file or a text document we are working on. The copy is there to ensure we have the original copy in case we don&#8217;t like our changes. However, keeping multiple copies around is very tedious (and also inefficient). Git branching is a way to create and manage changes more elegantly.<\/p>\n<p>By making a new branch in Git, we implicitly make a copy of the Git repository and can make modifications without altering the original. We can have multiple branches at the same time, and the branching mechanism allows us to merge back the changes into the main branch in case we want to adopt them permanently.<\/p>\n<p>This is also very useful in code collaboration. &#8220;Useful&#8221; is maybe not the right word: it&#8217;s pretty much &#8220;essential.&#8221; We will learn more about collaborating on Git projects in the next episode.<\/p>\n<h3>Essential Git Branching Commands<\/h3>\n<ul>\n<li><code>git branch<\/code>: Shows a list of the existing branches in the current Git repository<\/li>\n<li><code>git branch my-branch<\/code>: Create a new branch called\u00a0<code>my-branch<\/code><\/li>\n<li><code>git checkout my-branch<\/code>: Change your current &#8220;position&#8221; from the current branch to\u00a0<code>my-branch<\/code><\/li>\n<\/ul>\n<p><strong>Side note: Renaming the Default Branch<\/strong><\/p>\n<p>For new repositories, you can change the name of the default branch from\u00a0<code>master<\/code>\u00a0to\u00a0<code>main<\/code>\u00a0using the following command:<\/p>\n<pre>git config --global init.defaultBranch main<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5646432 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1.png\" alt=\"Git branching\" width=\"2762\" height=\"2549\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1.png 2762w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-300x277.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-1024x945.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-768x709.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-1536x1418.png 1536w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-2048x1890.png 2048w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-1920x1772.png 1920w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/git-branching-1-600x554.png 600w\" sizes=\"(max-width: 2762px) 100vw, 2762px\" \/><br \/>\n<strong>Pro Tip<\/strong><\/p>\n<p>To combine the two steps\u00a0<code>git branch my-new-branch<\/code>\u00a0and\u00a0<code>git checkout my-new-branch<\/code>, use:<\/p>\n<pre>git checkout -b my-new-branch<\/pre>\n<p>Or, if you like if you prefer your shortcuts to be even more concise, you can use\u00a0<code>gcb my-new-branch<\/code>\u00a0to achieve the same thing!<\/p>\n<h3>Merging Branches<\/h3>\n<p>At some point, if we like the changes we made in the current branch, we may want to merge back these changes into the main branch<\/p>\n<ol>\n<li><code>git checkout main<\/code>: Switch back to the main branch<\/li>\n<li><code>git merge my-branch<\/code>: Merge the branch\u00a0<code>my-branch<\/code>\u00a0into the currently active branch (here:\u00a0<code>main<\/code>)<\/li>\n<li><code>git branch -D my-branch<\/code>: Optionally delete the branch to clean up your Git repo<\/li>\n<\/ol>\n<p><strong>Side note: Rebasing<\/strong><\/p>\n<p>Some people prefer a workflow based on\u00a0<code>git rebase<\/code>. Usually, this means applying the changes on top of a current branch. Or more concretely, you may be asked to rebase your current commits in the feature branch (<code>my-branch<\/code>) on top of the main branch.<\/p>\n<p>If you want to learn how rebasing works, we recommend\u00a0<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.atlassian.com\/git\/tutorials\/rewriting-history\/git-rebase\" rel=\"nofollow\"><u>this excellent tutorial<\/u><\/a><\/span>.<\/p>\n<p>Stay tuned for future episodes of Lightning Bits! Also, If you have questions or suggestions, please don&#8217;t hesitate to reach out to William (<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/_willfalcon\" rel=\"nofollow\">@_willfalcon<\/a><\/span>) and Sebastian (<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/rasbt\" rel=\"nofollow\">@rasbt<\/a><\/span>) on Twitter or join us on <a style=\"color: #0000ff;\" href=\"https:\/\/pytorch-lightning.slack.com\/archives\/C03GS6MTCCQ\" rel=\"nofollow\"><u>Slack<\/u><\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Lightning Bits episode, William and Sebastian talk about one of the most powerful features of Git: branching. They discuss how branching can be used to manage alternate versions of your code, which is incredibly useful for developing and testing new features. Watch the video, or continue reading below. Managing Code Projects with Git<a class=\"excerpt-read-more\" href=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\" title=\"ReadEP 07: Git Branching\">&#8230; Read more &raquo;<\/a><\/p>\n","protected":false},"author":16,"featured_media":5646433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[102],"tags":[90,94,91,77],"glossary":[],"acf":{"hide_from_archive":null,"content_type":null,"code_embed":null,"code_shortcode":null,"custom_styles":null,"sticky":null,"additional_authors":null,"mathjax":null,"default_editor":null,"sections":null,"show_table_of_contents":null,"table_of_contents":null,"tabs":null,"tab_group":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EP 07: Git Branching - Lightning AI<\/title>\n<meta name=\"description\" content=\"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EP 07: Git Branching - Lightning AI\" \/>\n<meta property=\"og:description\" content=\"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\" \/>\n<meta property=\"og:site_name\" content=\"Lightning AI\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-27T09:31:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-10T15:12:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JP Hennessy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:site\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"JP Hennessy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\"},\"author\":{\"name\":\"JP Hennessy\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\"},\"headline\":\"EP 07: Git Branching\",\"datePublished\":\"2022-06-27T09:31:08+00:00\",\"dateModified\":\"2022-09-10T15:12:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\"},\"wordCount\":490,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png\",\"keywords\":[\"git\",\"git branching\",\"github\",\"lightning bits\"],\"articleSection\":[\"Lightning Bits\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\",\"url\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\",\"name\":\"EP 07: Git Branching - Lightning AI\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png\",\"datePublished\":\"2022-06-27T09:31:08+00:00\",\"dateModified\":\"2022-09-10T15:12:31+00:00\",\"description\":\"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.\",\"breadcrumb\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png\",\"width\":1280,\"height\":720,\"caption\":\"Git Branching\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lightning.ai\/pages\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EP 07: Git Branching\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lightning.ai\/pages\/#website\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"name\":\"Lightning AI\",\"description\":\"The platform for teams to build AI.\",\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lightning.ai\/pages\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\",\"name\":\"Lightning AI\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"width\":1744,\"height\":856,\"caption\":\"Lightning AI\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/LightningAI\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\",\"name\":\"JP Hennessy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"caption\":\"JP Hennessy\"},\"url\":\"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EP 07: Git Branching - Lightning AI","description":"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.","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:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/","og_locale":"en_US","og_type":"article","og_title":"EP 07: Git Branching - Lightning AI","og_description":"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.","og_url":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/","og_site_name":"Lightning AI","article_published_time":"2022-06-27T09:31:08+00:00","article_modified_time":"2022-09-10T15:12:31+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png","type":"image\/png"}],"author":"JP Hennessy","twitter_card":"summary_large_image","twitter_creator":"@LightningAI","twitter_site":"@LightningAI","twitter_misc":{"Written by":"JP Hennessy","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#article","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/"},"author":{"name":"JP Hennessy","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6"},"headline":"EP 07: Git Branching","datePublished":"2022-06-27T09:31:08+00:00","dateModified":"2022-09-10T15:12:31+00:00","mainEntityOfPage":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/"},"wordCount":490,"commentCount":0,"publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"image":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png","keywords":["git","git branching","github","lightning bits"],"articleSection":["Lightning Bits"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/","url":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/","name":"EP 07: Git Branching - Lightning AI","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage"},"image":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png","datePublished":"2022-06-27T09:31:08+00:00","dateModified":"2022-09-10T15:12:31+00:00","description":"In this Lightning Bits episode, William and Sebastian discuss Git branching and how it can be used to manage alternate versions of your code.","breadcrumb":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#primaryimage","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/Git-Branching.png","width":1280,"height":720,"caption":"Git Branching"},{"@type":"BreadcrumbList","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/git-branching\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lightning.ai\/pages\/"},{"@type":"ListItem","position":2,"name":"EP 07: Git Branching"}]},{"@type":"WebSite","@id":"https:\/\/lightning.ai\/pages\/#website","url":"https:\/\/lightning.ai\/pages\/","name":"Lightning AI","description":"The platform for teams to build AI.","publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lightning.ai\/pages\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lightning.ai\/pages\/#organization","name":"Lightning AI","url":"https:\/\/lightning.ai\/pages\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","width":1744,"height":856,"caption":"Lightning AI"},"image":{"@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/LightningAI"]},{"@type":"Person","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6","name":"JP Hennessy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","caption":"JP Hennessy"},"url":"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/"}]}},"_links":{"self":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646431"}],"collection":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/comments?post=5646431"}],"version-history":[{"count":0,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646431\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media\/5646433"}],"wp:attachment":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media?parent=5646431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/categories?post=5646431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/tags?post=5646431"},{"taxonomy":"glossary","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/glossary?post=5646431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}