{"id":1861,"date":"2021-06-09T13:41:09","date_gmt":"2021-06-09T13:41:09","guid":{"rendered":"https:\/\/blog.gitprotect.io\/?p=1861"},"modified":"2023-03-21T12:15:36","modified_gmt":"2023-03-21T12:15:36","slug":"git-backup-or-git-clone-that-is-the-question","status":"publish","type":"post","link":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/","title":{"rendered":"Git Backup or Git Clone?"},"content":{"rendered":"\n<p>Your code is your intellectual property, the most valuable asset inside your company. And you know that. As a CTO, IT manager, software-house owner, or team leader you know how much time and costs were spent to achieve this intellectual property and how important it is to protect this property and not to lose a single line of code. That\u2019s why you should backup your GIT repositories.&nbsp;<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Now you can say, &#8220;ok, but GIT itself is a backup tool.&#8221; Well.. not really. You don&#8217;t have to look far: April 2020 (Github), June 2020 (Github, Bitbucket), December 2020 (Bitbucket) are just a few crashes where &#8220;your&#8221; code was unavailable for a while. Could &#8216;backup&#8217; be even unavailable? That sounds ridiculous and shouldn\u2019t be the case in the modern organization. <strong>We should treat our repositories as production environments<\/strong>, and we cannot afford not to have access to the production environment. Do you backup your production data? So please do a backup of your repositories too.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-clone-git-repository\">How to clone Git repository<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/gitprotect.io\/sign-up.html\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-1024x536.png\" alt=\"Get free trial\" class=\"wp-image-2555\" width=\"512\" height=\"268\" srcset=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-1024x536.png 1024w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-300x157.png 300w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-768x402.png 768w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-400x209.png 400w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template.png 1200w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/figure><\/div>\n\n\n<p>Speaking of Git, backup is not that straightforward thing. One of its primary functions is <strong>clone<\/strong>. As you probably know, <strong>clone <\/strong>allows you to &#8230; <strong>clone a repository, which means creating a local, fully functional copy<\/strong>. But what does this feature actually do? Contrary to e.g. SVN and the <strong>checkout <\/strong>command, git <strong>clone <\/strong>makes a complete copy of the repository. Every version of every file from the beginning of the project. Nice feature. To achieve that, the project directory is generated on our machine, remote-tracking branches are created, then the <strong>fetch <\/strong>operation is performed (which takes the code for the aforementioned branches), and finally <strong>pull <\/strong>function is performed for the default branch. Now all that&#8217;s left to do is to set the addresses for <strong>origin <\/strong>&#8211; which <strong>clone <\/strong>also does for us &#8211; and that&#8217;s it! Simple as that. <strong>You have the perfect copy of the cloned repository<\/strong>. Well, almost perfect, but more on that in a moment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"git-clone-command\">git clone command<\/h3>\n\n\n\n<p>Of course, the <strong>clone command can be parameterized<\/strong>. We can play with a selection of active branch &#8211; as we don&#8217;t need to pull the default one &#8211; but also, for example, we can set config params or filter some elements that we do not want to download. Sample calls:&nbsp;<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f8f8f8\"><strong><em>git clone https:\/\/myrepo.com\/project &#8211;no-tags &#8211;filter = blob: none <\/em><\/strong><br>&#8211; it won&#8217;t download tags nor blob files&nbsp;<br><strong><em>git clone https:\/\/myrepo.com\/project &#8211;config core.editor vim&nbsp;<\/em><\/strong><br>&#8211; will set our favorite editor&nbsp;<\/p>\n\n\n\n<p>We can also do cloning with the <strong>&#8211;mirror <\/strong>option. That one will finally <strong>clone the entire repository<\/strong>. Literally the entire, as mirrored, repository which contains all the extended refs of the remote repository and maintains remote branch tracking configuration.&nbsp;<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p class=\"has-text-align-left\" style=\"font-size:22px\">How secure are your repos and metadata? Don&#8217;t push luck &#8211; <strong>secure your code with the first professional GitHub, Bitbucket, and GitLab backup<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button align=&quot;center&quot;\"><a class=\"wp-block-button__link has-background wp-element-button\" href=\"https:\/\/gitprotect.io\/sign-up.html\" style=\"border-radius:50px;background-color:#ff0300\" target=\"_blank\" rel=\"noreferrer noopener\">Start 14 days free GitProtect trial<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"git-bundle-command\">git bundle command<\/h3>\n\n\n\n<p>It might seem that this feature is enough not to worry about backing up our repository. But that&#8217;s not entirely true. The GIT itself already gives us a hint that cloning is not enough by entering the <strong>bundle <\/strong>command. This function creates a single archive-file that contains all the refs needed to restore the repository. You can easily run clone or pull functions on that bundle file. It is not very useful for developers, as they want to have working copy and start their work easily. But the bundle is a great function to create a copy of our repository.<\/p>\n\n\n\n<p>Use <strong>git bundle &#8211;all <\/strong>to create incremental dump files of content and copy configuration files separately.&nbsp;<\/p>\n\n\n\n<p>Would such a feature exist if cloning were enough? Well, I don\u2019t think so. In addition, e.g. Github provides an API to create a repository backup, and its official documentation also encourages the use of third-party tools to do so.&nbsp;<\/p>\n\n\n\n<p><em><strong>Visual learner?<\/strong> Then, don&#8217;t read but watch our GitProtect Academy video to find out the winner of the git clone vs. git backup battle (Psst, don&#8217;t forget to subscribe!)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"atbs-responsive-video\"><iframe loading=\"lazy\" title=\"Git Clone vs Git Backup - Do You Need a Backup of Your Git? - GitProtect.io Academy #3\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/EQJoMTjh3zw?list=PLG6ltpnBw0zG-UvV9nsyiNwobQNUYrlQX\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"so-why-do-we-need-git-backup\">So why do we need Git backup?<\/h2>\n\n\n\n<p>So now we know how <strong>clone <\/strong>and <strong>bundle <\/strong>functions works in GIT. We have tools that we can use to create copies, but we don&#8217;t want to do it manually every time! Usually, we create scripts that execute the right commands at the right time. For this we also need some own hosting to keep these copies. Simple in theory, but practice requires us to maintain these scripts constantly, which can be problematic and time-consuming, e.g. &#8211; there is a new repository&nbsp;<\/p>\n\n\n\n<p>&#8211; we want to change hosting&nbsp;<\/p>\n\n\n\n<p>&#8211; another repository appeared and some old project has been closed and archived There can be many reasons, but each of them forces us to bear the costs of maintaining such scripts. Which, moreover, should also have a backup of themselves!&nbsp;<\/p>\n\n\n\n<p>There is another huge disadvantage of that approach. Even if your script creates a copy &#8211; how to restore the data? By another script? It means another maintenance work. And are you sure that this copy even works? <strong>Creating a copy of your data is a very good idea, but it\u2019s not enough to call it a proper backup<\/strong>. You should be able to easily create copies, check their correctness, version them and restore if needed.&nbsp;<\/p>\n\n\n\n<p>Maintaining your own scripts certainly seems beneficial and cheaper in the early days of a project, but over time it always turns into a nightmare and consumes enormous costs and resources if you want to get it done right.&nbsp;<\/p>\n\n\n\n<p>Using Third-party backup tools seems to be a good solution in this situation. Ok, we will have an initial cost related to the configuration, but we would have to pay this cost anyway. However, we have an advantage in the long term &#8211; our costs do not accumulate, the <a href=\"https:\/\/gitprotect.io\/github.html\" target=\"_blank\" rel=\"noreferrer noopener\">backup of our repositories is automated<\/a>, we have access to them anytime-anywhere, and our employees can take care of the company&#8217;s development, not maintenance.&nbsp;<\/p>\n\n\n\n<p>Summing up, <strong>there is a huge difference between \u2018copy\u2019 and \u2018backup\u2019<\/strong>. Copy is fine for daily work, but it\u2019s not enough for the real protection of your data. To create a complete backup you need to care about encryption, versioning, data retention, and so on, to be prepared for unexpected situations. It would also be nice to have audit logs, notifications, and a nice UI for administrating all of this. Some out-of-the-box tool that can take multiple repository backups off your shoulders while providing a lot of flexibility.&nbsp;<\/p>\n\n\n\n<p>Be a smart leader &#8211; do your backups in a proper way!<\/p>\n\n\n\n<p>Secure approach to cloning? HTTPS is an encrypted connection hence it&#8217;s worth learning <a href=\"https:\/\/gitprotect.io\/blog\/how-to-clone-using-https-in-git\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to clone using HTTPS in git<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your code is your intellectual property, the most valuable asset inside your company. And you know that. As a CTO, IT manager, software-house owner, or team leader you know how much time and costs were spent to achieve this intellectual property and how important it is to protect this property and not to lose a single line of code. That\u2019s why you should backup your GIT repositories.&nbsp;<\/p>\n","protected":false},"author":6,"featured_media":1866,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1861","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git-backup-101","post--single"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Git Backup or Git Clone? - Blog | GitProtect.io<\/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:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Backup or Git Clone? - Blog | GitProtect.io\" \/>\n<meta property=\"og:description\" content=\"Your code is your intellectual property, the most valuable asset inside your company. And you know that. As a CTO, IT manager, software-house owner, or team leader you know how much time and costs were spent to achieve this intellectual property and how important it is to protect this property and not to lose a single line of code. That\u2019s why you should backup your GIT repositories.&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | GitProtect.io\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/XoperoSoftware\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-09T13:41:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-21T12:15:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tomasz Lisowski\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GitProtectio\" \/>\n<meta name=\"twitter:site\" content=\"@GitProtectio\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Lisowski\" \/>\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:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\"},\"author\":{\"name\":\"Tomasz Lisowski\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/9437be55e0e82150a20247f63e2fef79\"},\"headline\":\"Git Backup or Git Clone?\",\"datePublished\":\"2021-06-09T13:41:09+00:00\",\"dateModified\":\"2023-03-21T12:15:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\"},\"wordCount\":1152,\"publisher\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png\",\"articleSection\":[\"Git Backup 101\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\",\"name\":\"Git Backup or Git Clone? - Blog | GitProtect.io\",\"isPartOf\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png\",\"datePublished\":\"2021-06-09T13:41:09+00:00\",\"dateModified\":\"2023-03-21T12:15:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png\",\"width\":1200,\"height\":600,\"caption\":\"Git backup or git clone\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\/\/gitprotect.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git Backup or Git Clone?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#website\",\"url\":\"https:\/\/gitprotect.io\/blog\/\",\"name\":\"GitProtect.io Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gitprotect.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\",\"name\":\"GitProtect.io\",\"url\":\"https:\/\/gitprotect.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png\",\"width\":528,\"height\":528,\"caption\":\"GitProtect.io\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/XoperoSoftware\/\",\"https:\/\/x.com\/GitProtectio\",\"https:\/\/www.linkedin.com\/company\/xopero-software\/\",\"https:\/\/www.youtube.com\/channel\/UCiEnl6n0mIO6w7twccz-l2w\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/9437be55e0e82150a20247f63e2fef79\",\"name\":\"Tomasz Lisowski\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/tomasz-lisowski_avatar-96x96.jpg\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/tomasz-lisowski_avatar-96x96.jpg\",\"caption\":\"Tomasz Lisowski\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/tomasz-lisowski-01366a75\/\"],\"url\":\"https:\/\/gitprotect.io\/blog\/author\/tomasz-lisowski\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git Backup or Git Clone? - Blog | GitProtect.io","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:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/","og_locale":"en_US","og_type":"article","og_title":"Git Backup or Git Clone? - Blog | GitProtect.io","og_description":"Your code is your intellectual property, the most valuable asset inside your company. And you know that. As a CTO, IT manager, software-house owner, or team leader you know how much time and costs were spent to achieve this intellectual property and how important it is to protect this property and not to lose a single line of code. That\u2019s why you should backup your GIT repositories.&nbsp;","og_url":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/","og_site_name":"Blog | GitProtect.io","article_publisher":"https:\/\/www.facebook.com\/XoperoSoftware\/","article_published_time":"2021-06-09T13:41:09+00:00","article_modified_time":"2023-03-21T12:15:36+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png","type":"image\/png"}],"author":"Tomasz Lisowski","twitter_card":"summary_large_image","twitter_creator":"@GitProtectio","twitter_site":"@GitProtectio","twitter_misc":{"Written by":"Tomasz Lisowski","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#article","isPartOf":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/"},"author":{"name":"Tomasz Lisowski","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/9437be55e0e82150a20247f63e2fef79"},"headline":"Git Backup or Git Clone?","datePublished":"2021-06-09T13:41:09+00:00","dateModified":"2023-03-21T12:15:36+00:00","mainEntityOfPage":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/"},"wordCount":1152,"publisher":{"@id":"https:\/\/gitprotect.io\/blog\/#organization"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage"},"thumbnailUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png","articleSection":["Git Backup 101"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/","url":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/","name":"Git Backup or Git Clone? - Blog | GitProtect.io","isPartOf":{"@id":"https:\/\/gitprotect.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage"},"thumbnailUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png","datePublished":"2021-06-09T13:41:09+00:00","dateModified":"2023-03-21T12:15:36+00:00","breadcrumb":{"@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#primaryimage","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/06\/git-clone.png","width":1200,"height":600,"caption":"Git backup or git clone"},{"@type":"BreadcrumbList","@id":"https:\/\/gitprotect.io\/blog\/git-backup-or-git-clone-that-is-the-question\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/gitprotect.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Git Backup or Git Clone?"}]},{"@type":"WebSite","@id":"https:\/\/gitprotect.io\/blog\/#website","url":"https:\/\/gitprotect.io\/blog\/","name":"GitProtect.io Blog","description":"","publisher":{"@id":"https:\/\/gitprotect.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gitprotect.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gitprotect.io\/blog\/#organization","name":"GitProtect.io","url":"https:\/\/gitprotect.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png","width":528,"height":528,"caption":"GitProtect.io"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/XoperoSoftware\/","https:\/\/x.com\/GitProtectio","https:\/\/www.linkedin.com\/company\/xopero-software\/","https:\/\/www.youtube.com\/channel\/UCiEnl6n0mIO6w7twccz-l2w"]},{"@type":"Person","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/9437be55e0e82150a20247f63e2fef79","name":"Tomasz Lisowski","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/tomasz-lisowski_avatar-96x96.jpg","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/tomasz-lisowski_avatar-96x96.jpg","caption":"Tomasz Lisowski"},"sameAs":["https:\/\/www.linkedin.com\/in\/tomasz-lisowski-01366a75\/"],"url":"https:\/\/gitprotect.io\/blog\/author\/tomasz-lisowski\/"}]}},"_links":{"self":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/1861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/comments?post=1861"}],"version-history":[{"count":13,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/1861\/revisions"}],"predecessor-version":[{"id":4002,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/1861\/revisions\/4002"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/media\/1866"}],"wp:attachment":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/media?parent=1861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/categories?post=1861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/tags?post=1861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}