{"id":32303,"date":"2024-04-09T08:17:19","date_gmt":"2024-04-09T06:17:19","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=32303"},"modified":"2024-04-09T08:17:22","modified_gmt":"2024-04-09T06:17:22","slug":"devops-best-practice-backup-and-share-your-work-with-github","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/","title":{"rendered":"DevOps Best Practice &#8211; Backup and Share your work with GitHub"},"content":{"rendered":"\n<p>With my mate <strong>Chay Te<\/strong> (our DevOps champion in all categories and the mastermind of this best practice) we worked on scripts for our new Kubernetes security talk. These scripts where stored in our EC2 instance but this should not be their permanent location. First the EC2 instance could be deleted and we would lose everything. Then we need to version these files and keep track of the changes between us two. It was time to apply DevOps best practice for our scripts and we decided to use GitHub for this purpose.  Read on to learn how to backup and share your work with GitHub in this step-by-step guide!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-github\">GitHub<\/h2>\n\n\n\n<p>The first step is to sign up for a <a href=\"https:\/\/github.com\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub account<\/a> if you don&#8217;t already have one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png\" alt=\"Sign up for GitHub\" class=\"wp-image-32309\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-300x92.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-768x235.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1536x470.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-2048x627.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then you can create your first repository (also called repo for short) by giving it a name. You can select a Private repo if the files you share are private (it was in our case). So far so good, nothing complicated here!<\/p>\n\n\n\n<p>Now you want to connect from your EC2 instance (in our case but it could be any type of machine) to this repo and push your scripts. Before you can do that, there is some configuration to do in GitHub. You have to create a Personal Access Token (PAT) to allow this connection. Click on your <strong>profile<\/strong> in the top right corner and select <strong>Settings<\/strong>. Then choose <strong>Developer Settings<\/strong> and you will reach the PAT menu. Here there are 2 choices between a fine-grained and a classic token. The first one is in Beta and allow you to choose which access you want to give to each element of your repo. You give it a name and the token will be generated for you. It has an expiration date and you have to keep it somewhere safe like a password as you will not be able to retrieve it later.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"200\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-1024x200.png\" alt=\"GitHub personal access token as part of DevOps best practice.\" class=\"wp-image-32314\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-1024x200.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-300x59.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-768x150.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-1536x301.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-2-2048x401.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can now use your GitHub account name and this token to synchronize your scripts or files between EC2 and this repo.<\/p>\n\n\n\n<p>The last thing to configure in GitHub is to invite your collaborators to access your repo. Click on <strong>Add people<\/strong> and enter the email address of your collaborator. She\/He will receive an invite to accept to join you in this repo.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"360\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-1024x360.png\" alt=\"GitHub add a collaborator\" class=\"wp-image-32316\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-1024x360.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-300x105.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-768x270.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-1536x539.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-3-2048x719.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Creating a repo and collaborating in it is part of DevOps best practice!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-git-commands-in-ec2\">Git commands in EC2<\/h2>\n\n\n\n<p>Your GitHub repo is now ready so let&#8217;s use it and backup your scripts in it. Another DevOps best practice is to use <a href=\"https:\/\/git-scm.com\" target=\"_blank\" rel=\"noreferrer noopener\">Git<\/a> as the CLI tool in our machine.<\/p>\n\n\n\n<p>On the EC2 instance, the easiest way to proceed is to clone your GitHub repo (we give it the name MyNewRepo) with Git as follows:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ git clone https:\/\/github.com\/mygithubaccount\/MyNewRepo.git\n<\/pre><\/div>\n\n\n<p>You will be asked to authenticate with your GitHub account name (here mygithubaccount) and use the PAT you have created above as password. In your EC2 instance you now have a new folder called MyNewRepo. At this stage it is empty. Go into it and set the Git configuration:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cd MyNewRepo\n\n$ git config --global user.email &quot;benoit.entzmann@dbi-services.com&quot;\n$ git config --global user.name &quot;Benoit Entzmann&quot;\n$ git branch -M main\n$ git remote add origin https:\/\/github.com\/mygithubaccount\/MyNewRepo.git\n<\/pre><\/div>\n\n\n<p>You set the global email and username you will use with Git. By default there is one Git branch that is called <strong>Master<\/strong>. Rename it as <strong>main<\/strong>. Finally set up a connection between your local Git repository and your remote repository.<\/p>\n\n\n\n<p>Next copy or move all of your script files into this folder as shown in the example below:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ cp -Rp ~\/MyScripts\/* .\/\n<\/pre><\/div>\n\n\n<p>Now all of your script files are in right folder and you just need to add them to the local Git repo and push them to your repo in GitHub:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ git add .\n$ git commit -m &quot;My scripts&quot;\n$ git push -u origin main\n<\/pre><\/div>\n\n\n<p>And this is it! You can just check in GitHub that all of your script files are now in the repo called MyNewRepo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-wrap-up\">Wrap up<\/h2>\n\n\n\n<p>In a few steps we have seen how to backup your script files by using a repository in GitHub. You have not only backup your files, you have also setup the GitHub environment to collaborate in this repo. This is a DevOps best practice!<\/p>\n\n\n\n<p>Now in case of a failure or accidental deletion of your EC2 (yes Instance state -&gt; Terminate instance can happen!), you will be able to clone again your repo from GitHub and quickly get back on track with your scripts!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.<\/p>\n","protected":false},"author":109,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1320],"tags":[2667,2010,909],"type_dbi":[3017,3321,3320],"class_list":["post-32303","post","type-post","status-publish","format-standard","hentry","category-devops","tag-devops-2","tag-git","tag-github","type-devops","type-git","type-github"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>DevOps Best Practice - Backup and Share your work with GitHub - dbi Blog<\/title>\n<meta name=\"description\" content=\"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.\" \/>\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.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DevOps Best Practice - Backup and Share your work with GitHub\" \/>\n<meta property=\"og:description\" content=\"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-09T06:17:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-09T06:17:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png\" \/>\n<meta name=\"author\" content=\"DevOps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DevOps\" \/>\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.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/\"},\"author\":{\"name\":\"DevOps\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4cd1b5f8a3de93f05a16ab8d7d2b7735\"},\"headline\":\"DevOps Best Practice &#8211; Backup and Share your work with GitHub\",\"datePublished\":\"2024-04-09T06:17:19+00:00\",\"dateModified\":\"2024-04-09T06:17:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/\"},\"wordCount\":716,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/04\\\/GitHub-1-1024x314.png\",\"keywords\":[\"devops\",\"Git\",\"GitHub\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/\",\"name\":\"DevOps Best Practice - Backup and Share your work with GitHub - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/04\\\/GitHub-1-1024x314.png\",\"datePublished\":\"2024-04-09T06:17:19+00:00\",\"dateModified\":\"2024-04-09T06:17:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4cd1b5f8a3de93f05a16ab8d7d2b7735\"},\"description\":\"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/04\\\/GitHub-1.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/04\\\/GitHub-1.png\",\"width\":3246,\"height\":994},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/devops-best-practice-backup-and-share-your-work-with-github\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps Best Practice &#8211; Backup and Share your work with GitHub\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4cd1b5f8a3de93f05a16ab8d7d2b7735\",\"name\":\"DevOps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"caption\":\"DevOps\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/devops\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"DevOps Best Practice - Backup and Share your work with GitHub - dbi Blog","description":"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.","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.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/","og_locale":"en_US","og_type":"article","og_title":"DevOps Best Practice - Backup and Share your work with GitHub","og_description":"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.","og_url":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/","og_site_name":"dbi Blog","article_published_time":"2024-04-09T06:17:19+00:00","article_modified_time":"2024-04-09T06:17:22+00:00","og_image":[{"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png","type":"","width":"","height":""}],"author":"DevOps","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DevOps","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/"},"author":{"name":"DevOps","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735"},"headline":"DevOps Best Practice &#8211; Backup and Share your work with GitHub","datePublished":"2024-04-09T06:17:19+00:00","dateModified":"2024-04-09T06:17:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/"},"wordCount":716,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png","keywords":["devops","Git","GitHub"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/","url":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/","name":"DevOps Best Practice - Backup and Share your work with GitHub - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1-1024x314.png","datePublished":"2024-04-09T06:17:19+00:00","dateModified":"2024-04-09T06:17:22+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735"},"description":"DevOps best practice to backup and share files by using GitHub. Learn to synchronize the files in your machine with a GitHub repository.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/GitHub-1.png","width":3246,"height":994},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/devops-best-practice-backup-and-share-your-work-with-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"DevOps Best Practice &#8211; Backup and Share your work with GitHub"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735","name":"DevOps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","caption":"DevOps"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/devops\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/32303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/109"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=32303"}],"version-history":[{"count":7,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/32303\/revisions"}],"predecessor-version":[{"id":32368,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/32303\/revisions\/32368"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=32303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=32303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=32303"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=32303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}