{"id":90202,"date":"2021-10-25T13:49:11","date_gmt":"2021-10-25T17:49:11","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=90202"},"modified":"2021-11-16T14:30:56","modified_gmt":"2021-11-16T19:30:56","slug":"change-branch-name","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/","title":{"rendered":"How To Change Branch Name in Git"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png\" alt=\"How to change branch name in Git\" class=\"wp-image-90203\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p> Changing the name of a Git branch is something you may need to do once in a while, and after mastering a few simple steps you can be an expert at it.  However, changing branch names can cause conflicts if any of these steps are skipped.  It is always best to avoid making project-wide changes unless absolutely necessary. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#example-workflow\">Example Workflow For Changing a Branch Name<\/a><\/li><li><a href=\"#new-branch\">Create a New Branch<\/a><\/li><li><a href=\"#push-new-branch\">Push New Branch To Remote<\/a><\/li><li><a href=\"#change-branch-name\">Change The Git Branch Name Locally<\/a><\/li><li><a href=\"#change-remote\">Change The Git Branch Name on The Remote<\/a><\/li><\/ul>\n\n\n\n<p> Remember, when working with branches in Git you will have both local and remote branches.  In this article, you will learn how to rename branches locally and then how to echo those changes to your remote server to avoid future conflicts.<\/p>\n\n\n\n<p>For an ideal Git workflow, a <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\/fast-vps\">fast VPS server<\/a> gives you maximum speed, performance, and control over your hosting experience.<\/p>\n\n\n<div class=\"jumbotron\">\r\n<p>If you don\u2019t need cPanel, don't pay for it. Only pay for what you need with our scalable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS Hosting<\/a>.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>CentOS, Debian, or Ubuntu    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>No Bloatware    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>SSH and Root Access<\/p>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-workflow\">Example Workflow For Changing a Branch Name<\/h2>\n\n\n\n<p>\nAs a quick review, we will follow the full procedure for creating a new branch and making a commit.  Then we will push the branch to the remote repository, change the name locally, and then change the name remotely to make sure they match.\n<\/p>\n\n\n\n<p> To follow along with this example you will just need a test repository locally and a remote repository to push changes to.  For the local project you can use any directory on your local workstation, for the remote you can use your VPS server. (For the purposes of this test it would be best if you have already been working in this project and already have some commits on the master branch.) <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"new-branch\">Create a New Branch<\/h2>\n\n\n\n<p>\nStart by creating a new branch.  You can name this branch anything you want, but for this example the name \u201cstaging\u201d will be used:\n<\/p>\n\n\n\n<pre id=\"org4cb576a\" class=\"wp-block-preformatted example\">git checkout -b staging\n<\/pre>\n\n\n\n<p>\nYou have now created a branch called \u201cstaging\u201d and switched to it, because you used the \u201ccheckout\u201d command.  At this point, any changes you make to the project files will be committed on the \u201cstaging\u201d branch.\n<\/p>\n\n\n\n<pre id=\"org9a93fdc\" class=\"wp-block-preformatted example\">git commit -am \"&lt;changes made&gt;\"\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"push-new-branch\">Push New Branch To Remote<\/h2>\n\n\n\n<p>\nSo you have successfully created a local branch, but it is not present on the remote repository yet.  In order to send it up to the remote you must do a Git push.\n<\/p>\n\n\n\n<pre id=\"orge2759d0\" class=\"wp-block-preformatted example\">git push origin staging\n<\/pre>\n\n\n\n<p>\nYour branch is now present on the remote repository and in your local configuration.  Now, you will proceed to changing the name of the branch locally.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"change-branch-name\">Change The Git Branch Name Locally<\/h2>\n\n\n\n<p> Those of you familiar with the command line will recognize that you are not specifically \u201cchanging\u201d the name so much as \u201cmoving it\u201d in a similar fashion as the <code>mv<\/code> command.  The <code>git branch<\/code> option you will be using is <code>-m<\/code> or <code>--move<\/code> for \u201cmove.\u201d  So, in effect, you are moving the old branch to the new branch (basically changing the name): <\/p>\n\n\n\n<pre id=\"org3055736\" class=\"wp-block-preformatted example\">git branch -m &lt;old branch&gt; &lt;new branch&gt;\n<\/pre>\n\n\n\n<p>\nTry it out with the \u201cstaging\u201d branch.  For this example, you will change the name of the \u201cstaging\u201d branch to \u201ctesting\u201d:\n<\/p>\n\n\n\n<pre id=\"org2f51bb3\" class=\"wp-block-preformatted example\">git branch -m staging testing\n<\/pre>\n\n\n\n<p>\nNow, if you look at your branches with the <code>-a<\/code> option you will notice a few things:\n<\/p>\n\n\n\n<pre id=\"org0c3b652\" class=\"wp-block-preformatted example\">git branch -a\n<\/pre>\n\n\n\n<p>\nResults in:\n<\/p>\n\n\n\n<pre id=\"orgf1857f4\" class=\"wp-block-preformatted example\">  master<br>* testing\n  remotes\/origin\/master\n  remotes\/origin\/staging\n<\/pre>\n\n\n\n<p>\nThe <code>git branch -a<\/code> command shows you all of your local branches plus the references to remote branches.  (Remember that each branch can spin off divergent branches, and sometimes you might want to push divergent branches to a different remote branch than master.)\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"change-remote\">Change The Git Branch Name on The Remote<\/h2>\n\n\n\n<p>\nIn the above example you will note that you successfully changed the name of the \u201cstaging\u201d branch to \u201ctesting\u201d and the asterisk indicates you are still checking out that branch.  But the remote path, <code>remote\/origin\/staging<\/code> still says \u201cstaging\u201d as the remote branch.  This will definitely create confusion and conflicts.  So in order to change the name remotely you will run this command:\n<\/p>\n\n\n\n<pre id=\"org163ddcd\" class=\"wp-block-preformatted example\">git push origin :\"&lt;old branch&gt;\" \"&lt;new branch&gt;\"\n<\/pre>\n\n\n\n<p>\nOr, using the examples given:\n<\/p>\n\n\n\n<pre id=\"orgbb18301\" class=\"wp-block-preformatted example\">git push origin :\"staging\" \"testing\"\n<\/pre>\n\n\n\n<p>\nAnd if you completed this part successfully you should see a message indicating what happened:\n<\/p>\n\n\n\n<pre id=\"orgbf0bd31\" class=\"wp-block-preformatted example\">Total 0 (delta 0), reused 0 (delta 0)\nTo example.com:\/var\/lib\/git\/project.git\n - [deleted]         staging\n * [new branch]      testing -&gt; testing\n<\/pre>\n\n\n\n<p>\nThis output indicates that the \u201cstaging\u201d branch was deleted on the remote server and the new branch \u201ctesting\u201d was created.\n<\/p>\n\n\n\n<p>\nBoth of these commands have updated the reference points, but to make these changes final, you must set \u201ctesting\u201d as the upstream branch:\n<\/p>\n\n\n\n<pre id=\"orgea0b415\" class=\"wp-block-preformatted example\">git push origin -u testing\n<\/pre>\n\n\n\n<p>\nAnd you will see a success message to indicate this was done correctly:\n<\/p>\n\n\n\n<pre id=\"orgbb4537a\" class=\"wp-block-preformatted example\">Branch 'testing' set up to track remote branch 'testing' from 'origin'.\n<\/pre>\n\n\n\n<p> Well done!  You now know how to change the Git branch name locally and on the remote branch. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Changing the name of a Git branch is something you may need to do once in a while, and after mastering a few simple steps you can be an expert at it. However, changing branch names can cause conflicts if any of these steps are skipped. It is always best to avoid making project-wide changes<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4309],"tags":[],"class_list":["post-90202","post","type-post","status-publish","format-standard","hentry","category-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Change Branch Name in Git | InMotion Hosting<\/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.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Change Branch Name in Git | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Changing the name of a Git branch is something you may need to do once in a while, and after mastering a few simple steps you can be an expert at it. However, changing branch names can cause conflicts if any of these steps are skipped. It is always best to avoid making project-wide changes Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-25T17:49:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-16T19:30:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How To Change Branch Name in Git\",\"datePublished\":\"2021-10-25T17:49:11+00:00\",\"dateModified\":\"2021-11-16T19:30:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\"},\"wordCount\":716,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\",\"name\":\"How To Change Branch Name in Git | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png\",\"datePublished\":\"2021-10-25T17:49:11+00:00\",\"dateModified\":\"2021-11-16T19:30:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Change Branch Name in Git\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Change Branch Name in Git | InMotion Hosting","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.inmotionhosting.com\/support\/website\/git\/change-branch-name\/","og_locale":"en_US","og_type":"article","og_title":"How To Change Branch Name in Git | InMotion Hosting","og_description":"Changing the name of a Git branch is something you may need to do once in a while, and after mastering a few simple steps you can be an expert at it. However, changing branch names can cause conflicts if any of these steps are skipped. It is always best to avoid making project-wide changes Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-10-25T17:49:11+00:00","article_modified_time":"2021-11-16T19:30:56+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png","type":"","width":"","height":""}],"author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How To Change Branch Name in Git","datePublished":"2021-10-25T17:49:11+00:00","dateModified":"2021-11-16T19:30:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/"},"wordCount":716,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/","name":"How To Change Branch Name in Git | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git-1024x538.png","datePublished":"2021-10-25T17:49:11+00:00","dateModified":"2021-11-16T19:30:56+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-To-Change-Branch-Name-In-Git.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/change-branch-name\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Change Branch Name in Git"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/90202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=90202"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/90202\/revisions"}],"predecessor-version":[{"id":91657,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/90202\/revisions\/91657"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=90202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=90202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=90202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}