{"id":211,"date":"2022-09-20T12:56:41","date_gmt":"2022-09-20T12:56:41","guid":{"rendered":"https:\/\/www.devopstrainer.in\/blog\/?p=211"},"modified":"2022-09-21T11:51:24","modified_gmt":"2022-09-21T11:51:24","slug":"what-are-git-commands-and-their-uses","status":"publish","type":"post","link":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/","title":{"rendered":"What are git commands and their uses?"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png\" alt=\"\" class=\"wp-image-212\" width=\"723\" height=\"393\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png 640w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01-300x163.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><figcaption><em><strong>Git commands<\/strong><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p>As of today, we are using DevOps for software automation and deployment process. According to proceeding generations, we have acquired lots of updates and advancements in the software industry. <\/p>\n\n\n\n<p>we have taken innumerable kinds of steps for the processing value of software works and at least time duration for software performances. Now, Today, we are going to discuss about the most interesting platform which is utilized and applicable around all software organizations, weather it is small or huge. And That is git, about git commands and the uses phase where is applicable and at which part, it is more suitable or favorable. So, let&#8217;s start with the topic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are git commands?<\/h2>\n\n\n\n<p>Usually, we have some state of definition and normal level of information regarding the git command. so, what are git commands? Git command is a distributed version control system for tracking the enhance in the set of files. They had originally developed for the making coordination among programmers who were generating source code during software development process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Uses of git commands<\/h2>\n\n\n\n<p>Now, Let&#8217;s come to the part of git commands where and how do we use it? we apply numerable kinds of git commands for tracking and finding changes among the file and we use them continuously in IT sectors for fast work and process outcomes of software. I want to put some light on the number of git commands and their uses from my point of view:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-02.png\" alt=\"\" class=\"wp-image-217\" width=\"663\" height=\"266\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-02.png 561w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-02-300x120.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><figcaption><strong><em>Git clone<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git clone<\/strong> &#8211; This is the most usual command, we use to clone a git repository from a remote server or github to a local workspace where you have put the selected space.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-03.png\" alt=\"\" class=\"wp-image-219\" width=\"708\" height=\"136\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-03.png 563w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-03-300x58.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><figcaption><em><strong>Git status<\/strong><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git status<\/strong> &#8211; This is a most regular or informative command that we apply to enhance the current status of the branch and to know the state of changes i.e. Modified, Staged, or Committed State where you have modified, staged, or committed the file.<\/p>\n\n\n\n<p><strong>git log<\/strong> &#8211; Generally, we apply this command in the context of seeing the last &#8216;N&#8217; git commits on the branch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-04-2.png\" alt=\"\" class=\"wp-image-225\" width=\"752\" height=\"180\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-04-2.png 564w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-04-2-300x72.png 300w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><figcaption><em><strong>Git remote<\/strong><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git remote <\/strong>&#8211; This is a simple and evaluate command option for applying to set and check the remote server e.g. github.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-05-2.jpg\" alt=\"\" class=\"wp-image-227\" width=\"738\" height=\"202\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-05-2.jpg 853w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-05-2-300x82.jpg 300w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-05-2-768x211.jpg 768w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><figcaption><strong><em>Git push<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git push <\/strong>&#8211; This command we always use to push all working files or change files to a destination repository where you have put your own remote server or Github.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-06-2.png\" alt=\"\" class=\"wp-image-229\" width=\"727\" height=\"245\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-06-2.png 1005w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-06-2-300x101.png 300w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-06-2-768x259.png 768w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><figcaption><em><strong>Git commit<\/strong><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git commit <\/strong>&#8211; This command is always used before the push command to check what changes are done to the local branch which had cloned through git clone.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-07-1.png\" alt=\"\" class=\"wp-image-230\" width=\"678\" height=\"276\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-07-1.png 528w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-07-1-300x122.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><figcaption><em><strong>Git add<\/strong><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git add<\/strong> &#8211; This command is always used to add the changes from a Modified state (i.e.from local workspace) to a Staged state (i.e. to a remote server or github.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-08.png\" alt=\"\" class=\"wp-image-231\" width=\"752\" height=\"196\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-08.png 1024w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-08-300x78.png 300w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-08-768x200.png 768w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><figcaption><strong><em>Git restore<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>git restore <\/strong>&#8211; This command is generally used to restore the files in the original state by discarding all the changes or taking changes file from a Staged state to a Modified state.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As of today, we are using DevOps for software automation and deployment process. According to proceeding generations, we have acquired lots of updates and advancements in the&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,46],"tags":[64,67,63,66,73,70,71,68,72,65],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-devops","category-git","tag-distributed-version-control-system","tag-git-clone","tag-git-command-uses","tag-git-commands","tag-git-commit","tag-git-push","tag-git-repository","tag-git-status","tag-programmers","tag-uses-of-git-commands"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What are git commands and their uses? - DevOps | SRE | DevSecOps<\/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.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What are git commands and their uses? - DevOps | SRE | DevSecOps\" \/>\n<meta property=\"og:description\" content=\"As of today, we are using DevOps for software automation and deployment process. According to proceeding generations, we have acquired lots of updates and advancements in the...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps | SRE | DevSecOps\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-20T12:56:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-21T11:51:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png\" \/>\n<meta name=\"author\" content=\"rahulkr kr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rahulkr kr\" \/>\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:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/\"},\"author\":{\"name\":\"rahulkr kr\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"headline\":\"What are git commands and their uses?\",\"datePublished\":\"2022-09-20T12:56:41+00:00\",\"dateModified\":\"2022-09-21T11:51:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/\"},\"wordCount\":511,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/git-commands-uses-01.png\",\"keywords\":[\"Distributed version control system\",\"git clone\",\"git command uses\",\"git commands\",\"git commit\",\"git push\",\"git repository\",\"git status\",\"programmers\",\"Uses of git commands\"],\"articleSection\":[\"DevOps\",\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/\",\"name\":\"What are git commands and their uses? - DevOps | SRE | DevSecOps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/git-commands-uses-01.png\",\"datePublished\":\"2022-09-20T12:56:41+00:00\",\"dateModified\":\"2022-09-21T11:51:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/git-commands-uses-01.png\",\"contentUrl\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/git-commands-uses-01.png\",\"width\":640,\"height\":348},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/what-are-git-commands-and-their-uses\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What are git commands and their uses?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/\",\"name\":\"DevOps | SRE | DevSecOps\",\"description\":\"Automation means Cost, Quality, Time\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/#\\\/schema\\\/person\\\/e9fd1d88de76754aa189257cd197394d\",\"name\":\"rahulkr kr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g\",\"caption\":\"rahulkr kr\"},\"url\":\"https:\\\/\\\/www.devopstrainer.in\\\/blog\\\/author\\\/rahulkr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What are git commands and their uses? - DevOps | SRE | DevSecOps","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.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/","og_locale":"en_US","og_type":"article","og_title":"What are git commands and their uses? - DevOps | SRE | DevSecOps","og_description":"As of today, we are using DevOps for software automation and deployment process. According to proceeding generations, we have acquired lots of updates and advancements in the...","og_url":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/","og_site_name":"DevOps | SRE | DevSecOps","article_published_time":"2022-09-20T12:56:41+00:00","article_modified_time":"2022-09-21T11:51:24+00:00","og_image":[{"url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png","type":"","width":"","height":""}],"author":"rahulkr kr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rahulkr kr","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#article","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/"},"author":{"name":"rahulkr kr","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"headline":"What are git commands and their uses?","datePublished":"2022-09-20T12:56:41+00:00","dateModified":"2022-09-21T11:51:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/"},"wordCount":511,"commentCount":0,"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png","keywords":["Distributed version control system","git clone","git command uses","git commands","git commit","git push","git repository","git status","programmers","Uses of git commands"],"articleSection":["DevOps","Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/","url":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/","name":"What are git commands and their uses? - DevOps | SRE | DevSecOps","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#primaryimage"},"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png","datePublished":"2022-09-20T12:56:41+00:00","dateModified":"2022-09-21T11:51:24+00:00","author":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d"},"breadcrumb":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#primaryimage","url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png","contentUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/09\/git-commands-uses-01.png","width":640,"height":348},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopstrainer.in\/blog\/what-are-git-commands-and-their-uses\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopstrainer.in\/blog\/"},{"@type":"ListItem","position":2,"name":"What are git commands and their uses?"}]},{"@type":"WebSite","@id":"https:\/\/www.devopstrainer.in\/blog\/#website","url":"https:\/\/www.devopstrainer.in\/blog\/","name":"DevOps | SRE | DevSecOps","description":"Automation means Cost, Quality, Time","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/e9fd1d88de76754aa189257cd197394d","name":"rahulkr kr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79531cbaf0b831cebc9631f6ac28f21fb3fb0dc2615eeecdeeec43038b513473?s=96&d=mm&r=g","caption":"rahulkr kr"},"url":"https:\/\/www.devopstrainer.in\/blog\/author\/rahulkr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":4,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}