{"id":23043,"date":"2020-09-21T13:25:56","date_gmt":"2020-09-21T20:25:56","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=23043"},"modified":"2023-12-01T04:00:19","modified_gmt":"2023-12-01T12:00:19","slug":"git-cannot-open-git-fetch-head-permission-denied","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/","title":{"rendered":"Git Cannot open .git\/FETCH_HEAD: Permission denied Solution"},"content":{"rendered":"\n<p>Git needs write permissions on the files in a directory called .git\/ inside your project folder. If the Git command line does not have access to this folder, you\u2019ll encounter an error like \u201cCannot open .git\/FETCH_HEAD: Permission denied\u201d when you try to pull a file.<br><\/p>\n\n\n\n<p>In this guide, we\u2019re going to discuss what this error means and its cause. We\u2019ll walk through an example so you can learn how to fix it in your program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cannot open .git\/FETCH_HEAD: Permission denied<\/h2>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/what-is-git\/\">Git repositories<\/a> contain a special folder called .git\/. You may not have seen this folder because it is hidden. The hidden status of this folder is denoted by the full stop (\u201c.\u201d) that comes at the start of the folder name.<br><\/p>\n\n\n\n<p>This folder contains various pieces of metadata about a repository. It tracks your project-specific configuration options, the references in your project, your current HEAD, among other crucial pieces of information about your repository.<br><\/p>\n\n\n\n<p>Git needs read and write access to this folder. This is because its contents will change as you run commands like git config and git pull.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to clone a repository called ck-git from GitHub. This repository contains a file called README.md. To clone this repository, we can use the <a href=\"https:\/\/careerkarma.com\/blog\/git-clone\/\">git clone command<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo git clone https:\/\/github.com\/Career-Karma-Tutorials\/ck-git<\/pre><\/div>\n\n\n\n<p>The contents of our README.md file are currently:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># ck-git<\/pre><\/div>\n\n\n\n<p>We want to change this file to contain a more descriptive README.md. We\u2019re going to open this file in a text editor and change its contents to the following:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># Career Karma Git Demo<\/pre><\/div>\n\n\n\n<p>A repository with demo files for Career Karma&#8217;s Git tutorials.<br><\/p>\n\n\n\n<p>That\u2019s better. Our file more accurately describes the purpose of our Git repository. Now, let\u2019s <a href=\"https:\/\/careerkarma.com\/blog\/git-add\/\">add this change to the staging area<\/a> so we can create a commit:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo git add README.md<\/pre><\/div>\n\n\n\n<p>Git knows that we want to add README.md into our next commit. To make our changes show up in our remote repository, we have to <a href=\"https:\/\/careerkarma.com\/blog\/git-commit\/\">add them to a commit<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo git commit -m &quot;docs: Make README.md more descriptive&quot;<\/pre><\/div>\n\n\n\n<p>Our commit is now ready to be pushed to our remote repository. Before we push our code, we\u2019re going to pull the remote version of our repository. This will let us make sure that we are up to date with any changes that have been made since we cloned the repository:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git pull<\/pre><\/div>\n\n\n\n<p>This command returns:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>error: cannot open .git\/FETCH_HEAD: Permission denied<\/pre><\/div>\n\n\n\n<p>This error tells us that Git cannot access one of its configuration files, FETCH_HEAD.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>We cloned the ck-git repository using the <a href=\"https:\/\/careerkarma.com\/blog\/linux-sudo-command\/\">\u201csudo\u201d command<\/a>. This means our repository was cloned as the root user. Because the root user cloned the repository, the files in the repository are owned by the root user.<br><\/p>\n\n\n\n<p>We can see this by running the ls -la command:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>total 8\ndrwxr-xr-x   4 root   staff   128 Sep 17 07:15 .\ndrwxr-xr-x+ 90 James  staff  2880 Sep 17 07:15 ..\ndrwxr-xr-x  12 root   staff   384 Sep 17 07:15 .git\n-rw-r--r--   1 root   staff \t1 Sep 17 07:15 README.md<\/pre><\/div>\n\n\n\n<p>All of the files in our folder are owned by \u201croot\u201d, which is part of the \u201cstaff\u201d account. When we try to pull our remote repository without using \u201csudo\u201d, an error is returned. This is because our standard user account does not have permissions to modify the files in the folder.<br><\/p>\n\n\n\n<p>To fix this issue, we are going to change the ownership of the files in our folder. We can do this using the chown command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo chown -R james:staff .<\/pre><\/div>\n\n\n\n<p>This command changes the ownership details of all the files and folders in our repository, including the .git\/ folder. We are now the owner of the directory and have full access to the project folder. We should now be able to pull our code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git pull<\/pre><\/div>\n\n\n\n<p>This command executes successfully and returns:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Already up to date.<\/pre><\/div>\n\n\n\n<p>We now know that no changes have been made to our remote repository since we last pulled our code. We last pulled code when we created the repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The Git \u201cCannot open .git\/FETCH_HEAD: Permission denied\u201d error occurs when you try to pull code from a remote repository when the .git\/ directory in your project folder is inaccessible to your current user.<br><\/p>\n\n\n\n<p>To solve this error, make sure that your current user has read-write privileges to the Git repository with which you are working.<\/p>\n","protected":false},"excerpt":{"rendered":"Git needs write permissions on the files in a directory called .git\/ inside your project folder. If the Git command line does not have access to this folder, you\u2019ll encounter an error like \u201cCannot open .git\/FETCH_HEAD: Permission denied\u201d when you try to pull a file. In this guide, we\u2019re going to discuss what this error&hellip;","protected":false},"author":240,"featured_media":17625,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17286],"tags":[],"class_list":{"0":"post-23043","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 Cannot open .git\/FETCH_HEAD: Permission denied Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\/FETCH_HEAD: Permission denied error.\" \/>\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-cannot-open-git-fetch-head-permission-denied\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Cannot open .git\/FETCH_HEAD: Permission denied Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\/FETCH_HEAD: Permission denied error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/\" \/>\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-09-21T20:25:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:00:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Git Cannot open .git\\\/FETCH_HEAD: Permission denied Solution\",\"datePublished\":\"2020-09-21T20:25:56+00:00\",\"dateModified\":\"2023-12-01T12:00:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/\"},\"wordCount\":671,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/\",\"name\":\"Git Cannot open .git\\\/FETCH_HEAD: Permission denied Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg\",\"datePublished\":\"2020-09-21T20:25:56+00:00\",\"dateModified\":\"2023-12-01T12:00:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\\\/FETCH_HEAD: Permission denied error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg\",\"width\":1020,\"height\":680,\"caption\":\"A person writing lines of code on a laptop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-cannot-open-git-fetch-head-permission-denied\\\/#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 Cannot open .git\\\/FETCH_HEAD: Permission denied Solution\"}]},{\"@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 Cannot open .git\/FETCH_HEAD: Permission denied Solution | Career Karma","description":"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\/FETCH_HEAD: Permission denied error.","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-cannot-open-git-fetch-head-permission-denied\/","og_locale":"en_US","og_type":"article","og_title":"Git Cannot open .git\/FETCH_HEAD: Permission denied Solution","og_description":"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\/FETCH_HEAD: Permission denied error.","og_url":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-21T20:25:56+00:00","article_modified_time":"2023-12-01T12:00:19+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Git Cannot open .git\/FETCH_HEAD: Permission denied Solution","datePublished":"2020-09-21T20:25:56+00:00","dateModified":"2023-12-01T12:00:19+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/"},"wordCount":671,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/","url":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/","name":"Git Cannot open .git\/FETCH_HEAD: Permission denied Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg","datePublished":"2020-09-21T20:25:56+00:00","dateModified":"2023-12-01T12:00:19+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn the cause of and the solution to the Git Cannot open .git\/FETCH_HEAD: Permission denied error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/05\/danial-ricaros-FCHlYvR5gJI-unsplash.jpg","width":1020,"height":680,"caption":"A person writing lines of code on a laptop"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/git-cannot-open-git-fetch-head-permission-denied\/#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 Cannot open .git\/FETCH_HEAD: Permission denied Solution"}]},{"@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\/23043","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=23043"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23043\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/17625"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=23043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=23043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=23043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}