{"id":23842,"date":"2020-11-24T13:18:18","date_gmt":"2020-11-24T21:18:18","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=23842"},"modified":"2023-12-01T04:04:54","modified_gmt":"2023-12-01T12:04:54","slug":"git-list-remote-branches","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/","title":{"rendered":"Git: List Remote Branches"},"content":{"rendered":"\n<p><em>You can list the remote branches associated with a repository using the git branch -r, the git branch -a command or the git remote show command. To see local branches, use the git branch command.<\/em><\/p>\n\n\n\n<p>The git branch command lets you see a list of all the branches stored in your local version of a repository. To see the remote branches associated with your repository, you need to append the -r flag to the end of the git branch command.<\/p>\n\n\n\n<p>In this guide, we discuss how to use the git branch -r command to show remote branches. We also discuss how to use the git remote show command to show branches on the remote version of your repo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git: List Remote Branches<\/h2>\n\n\n\n<p>There are three ways to list the remote branches associated with a Git repository:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>git branch -a: See both local and remote branches<\/li><li>git branch -r: See only remote branches<\/li><li>git remote show: See remote branches and associated metadata<\/li><\/ul>\n\n\n\n<p>The most common commands are git branch -a and git branch -r because they only list the branches. git remote show provides more detailed information about each branch which is not always necessary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git: List All Remote Branches Using git branch<\/h2>\n\n\n\n<p>We have a Git repository called ck-git. We\u2019re unsure whether the branch we want to create, dev2.2-fix, exists in our repository.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The git branch -r Flag<\/h3>\n\n\n\n<p>To check for this branch, we can use the <a href=\"https:\/\/careerkarma.com\/blog\/git-branch\/\">git branch command<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git branch<\/pre><\/div>\n\n\n\n<p>This command returns a list of all the local repository branches:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>* master\ndev<\/pre><\/div>\n\n\n\n<p>The asterisk (*) denotes the branch we are currently viewing. We can see that the branch that we want to create (\u201cdev2.2-fix\u201d) does not exist.<\/p>\n\n\n\n<p>Before we create the branch, we want to check if the branch exists on our remote. We can do this by adding the -r flag to the git branch command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git branch -r<\/pre><\/div>\n\n\n\n<p>This command retrieves the branches on the remote version of our repository:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>  origin\/HEAD -&gt; origin\/master\n  origin\/dev2.2-fix\n  origin\/master<\/pre><\/div>\n\n\n\n<p>We can see that our remote repository has a branch called dev2.2-fix already. We now know that the branch exists on our remote repository but not our local one.<\/p>\n\n\n\n<p>This means we need to fetch an existing branch to our local machine, so we can get to work on writing our code. We don\u2019t need to create a new branch.<\/p>\n\n\n\n<p>We can fetch the existing branch from our remote repository using the <a href=\"https:\/\/careerkarma.com\/blog\/git-fetch\/\">Git fetch command<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git fetch origin dev2.2-fix<\/pre><\/div>\n\n\n\n<p>This will let us retrieve the dev2.2-fix branch from our origin repository. \u201corigin\u201d is the name of the main remote repo to which we push our code. We can see that once we run this command a new branch is created:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>From https:\/\/github.com\/career-karma-tutorials\/ck-git\n * branch        \tdev2.2-fix    \t-&gt; FETCH_HEAD<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">The git branch -a Flag<\/h3>\n\n\n\n<p>The -a flag associated with the git branch command returns all the local and remote branches associated with a repository.<\/p>\n\n\n\n<p>Consider the following command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git branch -a<\/pre><\/div>\n\n\n\n<p>Our command returns:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>* master\n  remotes\/origin\/activity-feed\n  remotes\/origin\/master<\/pre><\/div>\n\n\n\n<p>We can see that there are branches that did not appear when we run git branch -r. This is because git branch -r only returns remote branches. git branch -a returns remote tracking branches and local branches.<\/p>\n\n\n\n<p>Remote branches are denoted by the &#8220;remotes&#8221; label.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git: List All Remote Branches Using git remote show<\/h2>\n\n\n\n<p>The git remote show displays detailed information about the branches associated with a remote repository. This command takes one argument: the name of the remote whose branches you want to view.<\/p>\n\n\n\n<p>The git branch -r command is sufficient if you want a brief overview of all the branches stored on a remote. If you want more detailed information, the git remote show command may be more useful. This command returns:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>All <a href=\"https:\/\/careerkarma.com\/blog\/git-change-remote\/\">remote branches<\/a><\/li><li>The local branches configured with the <a href=\"https:\/\/careerkarma.com\/blog\/git-pull\/\">git pull command<\/a><\/li><li>The branches configured with the <a href=\"https:\/\/careerkarma.com\/blog\/git-push\/\">git push command<\/a><\/li><\/ul>\n\n\n\n<p>Let&#8217;s run the git remote show command on our &#8220;origin&#8221; remote, which is the name of the main remote associated with our project. We can expect to see the origin master branch, the main branch on our remote, and any other branches we have.<\/p>\n\n\n\n<p>For most users, this command will provide more information than they need. But, it exists if you ever need to use it.<\/p>\n\n\n\n<p>Let\u2019s retrieve a list of all the branches on our remote repository using the git remote show command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git remote show origin<\/pre><\/div>\n\n\n\n<p>This command displays all the remotes associated with \u201corigin\u201d. This is the main remote attached to our repo. Let\u2019s take a look at what the command displays:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>* remote origin\n  Fetch URL: https:\/\/github.com\/career-karma-tutorials\/ck-git\n  Push  URL: https:\/\/github.com\/career-karma-tutorials\/ck-git\n  HEAD branch: master\n  Remote branches:\n\tdev2.2-fix\ttracked\n\tmaster tracked\n  Local branch configured for 'git pull':\n\tmaster merges with remote master\n  Local ref configured for 'git push':\n\tmaster pushes to master (local out of date)<\/pre><\/div>\n\n\n\n<p>We can see that there are two branches on our remote repository that we are tracking. These branches are called master and dev2.2-fix.<\/p>\n\n\n\n<p>We have not configured a pull or push operation with our dev2.2-fix branch. This is because we haven\u2019t pulled code from or pushed code to that branch yet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The git remote -r command lets you see a list of all the branches on a particular remote. If you need more information about the remotes associated with a repository, you can use the git remote show command.<\/p>\n\n\n\n<p>Now you have the knowledge you need to use Git list branches on remote commands. To learn more about working with Git, read our <a href=\"https:\/\/careerkarma.com\/blog\/what-is-git\/\">How to Learn Git guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"You can list the remote branches associated with a repository using the git branch -r, the git branch -a command or the git remote show command. To see local branches, use the git branch command. The git branch command lets you see a list of all the branches stored in your local version of a&hellip;","protected":false},"author":240,"featured_media":23843,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17286],"tags":[],"class_list":{"0":"post-23842","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-git"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Git","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Git: List Remote Branches: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git: List Remote Branches\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-24T21:18:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:04:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Git: List Remote Branches\",\"datePublished\":\"2020-11-24T21:18:18+00:00\",\"dateModified\":\"2023-12-01T12:04:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/\"},\"wordCount\":855,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/\",\"name\":\"Git: List Remote Branches: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg\",\"datePublished\":\"2020-11-24T21:18:18+00:00\",\"dateModified\":\"2023-12-01T12:04:54+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-list-remote-branches\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Git: List Remote Branches\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git: List Remote Branches: A Step-By-Step Guide | Career Karma","description":"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.","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:\/\/careerkarma.com\/blog\/git-list-remote-branches\/","og_locale":"en_US","og_type":"article","og_title":"Git: List Remote Branches","og_description":"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.","og_url":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-11-24T21:18:18+00:00","article_modified_time":"2023-12-01T12:04:54+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Git: List Remote Branches","datePublished":"2020-11-24T21:18:18+00:00","dateModified":"2023-12-01T12:04:54+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/"},"wordCount":855,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/","url":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/","name":"Git: List Remote Branches: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg","datePublished":"2020-11-24T21:18:18+00:00","dateModified":"2023-12-01T12:04:54+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn how to list branches on a remote Git repository using the git branch -r and git remote show commands.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/fatos-bytyqi-Agx5_TLsIf4-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/git-list-remote-branches\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Git","item":"https:\/\/careerkarma.com\/blog\/git\/"},{"@type":"ListItem","position":3,"name":"Git: List Remote Branches"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=23842"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23842\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/23843"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=23842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=23842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=23842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}