{"id":39108,"date":"2016-07-12T11:00:13","date_gmt":"2016-07-12T08:00:13","guid":{"rendered":"http:\/\/examples.javacodegeeks.com\/?p=39108"},"modified":"2019-04-23T14:28:40","modified_gmt":"2019-04-23T11:28:40","slug":"git-clone-version-example","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/","title":{"rendered":"Git Clone Version Example"},"content":{"rendered":"<p>As we know, <code>Git<\/code> has been widely used among software programmers. It is free and open-source. Also, it&#8217;s powerful by its distributed nature, fast operation and branch handling mechanism. The distributed property makes it easy and efficient for multiple developers to work together, towards the same project. In addition, <code>Git<\/code> works fast with its lightweight operations. Lastly, every developer can work with the code as its own branch. Others can merge different branches, which makes cooperation-work quite easy.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;\n<\/p>\n<h2>1. Introduction<\/h2>\n<p><code>Github<\/code> is a web-based Git repository. It is also called remote repository, compared to the local repository. Firstly, it provides web-based GUI and desktop GUI, as well as mobile integration. Also, it provides access control and other features for collaboration. Because of these, it is very useful for bug tracking, task management for every project.<\/p>\n<p>For <code>Git<\/code> and <code>Github<\/code>, they do have close connections with each other. And we can use different commands to make them connect. For more command options, go to my previous <code>Git<\/code> tutorial. Before that, you may also need to install <code>Git<\/code> and set up <code>Github<\/code>. For instructions on this, you may refer to my previous article <a href=\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-repository-example\/\">Git clone repository example<\/a>.<\/p>\n<p>In this article, we will focus on a very important <code>Git<\/code> command: <code>git clone<\/code>. This command will clone\/download a repository from <code>Github<\/code>.<\/p>\n<p>All the examples below is shown in MacOS EI Capitan Version 10.11.5 and the Git version is 2.7.4.<\/p>\n<h2>2. Git clone version example<\/h2>\n<h3>2.1 git clone command<\/h3>\n<p>In <code>Git<\/code>, <code>git clone<\/code> is a very important command. You can understand it as cloning\/downloading a repository into a new directory from a remote server, like <code>Github<\/code>. Hence, we can use this command to connect to <code>Github<\/code>, based on knowing the project git link.<\/p>\n<p>To make it clear how it works, I&#8217;ll show you with an example. For instance, you may interest in the Datastax Java driver for the NoSQL database Apache Cassandra. You can go to the <code>Github<\/code> link <a href=\"https:\/\/github.com\/datastax\/java-driver\">https:\/\/github.com\/datastax\/java-driver<\/a>. Below this figure shows how it looks for our project.<\/p>\n<p><figure id=\"attachment_37132\" aria-describedby=\"caption-attachment-37132\" style=\"width: 860px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/java-driver.jpg\"><img decoding=\"async\" class=\"wp-image-37132 size-full\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/java-driver.jpg\" alt=\"java driver\" width=\"860\" height=\"500\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/java-driver.jpg 860w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/java-driver-300x174.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/java-driver-768x447.jpg 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><figcaption id=\"caption-attachment-37132\" class=\"wp-caption-text\">Datastax Java driver<\/figcaption><\/figure><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>Then, if you need to download it and work on this project on your local machine. You can use&nbsp;<code>git clone<\/code>&nbsp;command. To make it work, you need to figure out the&nbsp;<code>git<\/code>&nbsp;link for this project. For this project, the&nbsp;<code>git<\/code>&nbsp;link is <a href=\"https:\/\/github.com\/datastax\/java-driver.git\">https:\/\/github.com\/datastax\/java-driver.git<\/a>. The position of this link which you can copy is below with the blue part marked.<\/p>\n<p><figure id=\"attachment_37131\" aria-describedby=\"caption-attachment-37131\" style=\"width: 860px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-link.jpg\"><img decoding=\"async\" class=\"wp-image-37131 size-full\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-link.jpg\" alt=\"git link\" width=\"860\" height=\"128\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-link.jpg 860w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-link-300x45.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-link-768x114.jpg 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><figcaption id=\"caption-attachment-37131\" class=\"wp-caption-text\">Git link<\/figcaption><\/figure><\/p>\n<p>Then, open the terminal on your computer and go to the directory that you want to save this project. Type&nbsp;<code>git clone https:\/\/github.com\/datastax\/java-driver.git<\/code>. Then, it\u2019ll download this project to your local machine like below:<\/p>\n<pre class=\"brush:bash\">WXMs-MacBook-Pro:~ WXM$ git clone https:\/\/github.com\/datastax\/java-driver.git\nCloning into 'java-driver'...\nremote: Counting objects: 50300, done.\nremote: Total 50300 (delta 0), reused 0 (delta 0), pack-reused 50299\nReceiving objects: 100% (50300\/50300), 20.78 MiB | 266.00 KiB\/s, done.\nResolving deltas: 100% (21551\/21551), done.\nChecking connectivity... done.\n<\/pre>\n<p>Then, you can go to the directory of the project. Furthermore, you can check the status with command <code>git status<\/code>. It works like below:<\/p>\n<pre class=\"brush:bash\">WXMs-MacBook-Pro:~ WXM$ cd java-driver\/\nWXMs-MacBook-Pro:java-driver WXM$ git status\nHEAD detached at origin\/3.0\nnothing to commit, working directory clean\n<\/pre>\n<p>The status shows that the current HEAD is at remote repository origin on branch 3.0.<\/p>\n<h3>2.2 git clone version<\/h3>\n<p>Normally, when we work on a project, we may have multiple versions. These versions may have different functions to work on. <code>Git<\/code> also support for multiple versions. And it makes version-control very convenient. So we still take the Datastax Java driver as an example.<\/p>\n<p>In our previous command, when we clone with the <code>git<\/code> link, we clone all branches. With the usage of command git branch -a, you can get the list of all branches in this project. Similarly, you can see our example below:<\/p>\n<p><figure id=\"attachment_37663\" aria-describedby=\"caption-attachment-37663\" style=\"width: 748px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-37663 size-full\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-list.jpg\" alt=\"git branches list\" width=\"748\" height=\"1280\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-list.jpg 748w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-list-175x300.jpg 175w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-list-598x1024.jpg 598w\" sizes=\"(max-width: 748px) 100vw, 748px\" \/><figcaption id=\"caption-attachment-37663\" class=\"wp-caption-text\">git branches list<\/figcaption><\/figure>[ulp id=&#8217;pzgfvmZhgslwSymm&#8217;]<\/p>\n<p>In the figure above, you may find out different numbers like 1.0, 2. 0, 3.0 etc. Actually these are the branches for this project. You can also click the branches like below to see the detailed information of different branches.<\/p>\n<p><figure id=\"attachment_37657\" aria-describedby=\"caption-attachment-37657\" style=\"width: 860px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-figure.jpg\"><img decoding=\"async\" class=\"wp-image-37657 size-full\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-figure.jpg\" alt=\"git branches figure\" width=\"860\" height=\"435\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-figure.jpg 860w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-figure-300x152.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/05\/git-branches-figure-768x388.jpg 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><figcaption id=\"caption-attachment-37657\" class=\"wp-caption-text\">git branches figure<\/figcaption><\/figure><\/p>\n<p>From the figure above, we can see that current branch is 3.0. Also, if you&#8217;re careful enough, you may find there&#8217;s a tags tag belong with the branch tag. You can click the branch tag and find the tags tag. You can check it like below:<\/p>\n<p><figure id=\"attachment_39116\" aria-describedby=\"caption-attachment-39116\" style=\"width: 604px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/07\/git-tag.jpg\"><img decoding=\"async\" class=\"wp-image-39116 size-full\" src=\"http:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/07\/git-tag.jpg\" alt=\"git tags\" width=\"604\" height=\"1086\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/07\/git-tag.jpg 604w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/07\/git-tag-167x300.jpg 167w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/07\/git-tag-570x1024.jpg 570w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/a><figcaption id=\"caption-attachment-39116\" class=\"wp-caption-text\">Git tags<\/figcaption><\/figure><\/p>\n<p>Here, under the Tags tag, you can find the version number like 3.0.0, 3.0.1 and 3.0.2. Normally, the version comes from 1.0 to up, like 2.0, 3.0. And these changes normally are big changes. Then some other version name changes like 3.0.1 to 3.0.2 is just small bugs improvement or modification.<\/p>\n<p>So normally, the branch is kind of like a big branch with different versions. For example, in branch 3.0, it has version of 3.0.1, 3.0.2 and 3.0.3 etc. With these branches and version tags, it&#8217;s very convenient for us to manage the whole project. You can check the whole version number with <code>git tag<\/code> command:<\/p>\n<pre class=\"brush:bash\">WXMs-MacBook-Pro:java-driver WXM$ git tag\n1.0.0\n1.0.0-beta1\n1.0.0-beta2\n1.0.0-rc1\n1.0.1\n1.0.1-dse\n1.0.2\n1.0.2-dse\n1.0.2-dse2\n1.0.3\n1.0.3-dse\n1.0.4\n1.0.4-dse\n1.0.5\n1.0.5-dse\n1.0.6\n1.0.6-dse\n1.0.7\n1.0.8\n2.0.0\n2.0.0-beta1\n2.0.0-beta2\n2.0.0-rc1\n2.0.0-rc2\n2.0.0-rc3\n2.0.1\n2.0.10\n2.0.10.1\n2.0.11\n2.0.12\n2.0.12.1\n2.0.12.2\n2.0.2\n2.0.3\n2.0.4\n2.0.5\n2.0.6\n2.0.7\n2.0.8\n2.0.9\n2.0.9.1\n2.0.9.2\n2.1.0\n2.1.0-beta1\n2.1.0-rc1\n2.1.1\n2.1.10\n2.1.10.1\n2.1.10.2\n2.1.2\n2.1.3\n2.1.4\n2.1.5\n2.1.6\n2.1.7\n2.1.7.1\n2.1.8\n2.1.9\n2.2.0-rc1\n2.2.0-rc2\n2.2.0-rc3\n3.0.0\n3.0.0-alpha1\n3.0.0-alpha2\n3.0.0-alpha3\n3.0.0-alpha4\n3.0.0-alpha5\n3.0.0-beta1\n3.0.0-rc1\n3.0.1\n3.0.2\ncassandra-driver-parent-2.0.9\n<\/pre>\n<p>Furthermore, if you want to go to specific branch with specific version, you may use the following command with <code>git checkout<\/code> with the version number. For example, we might want to go to the version of 3.0.0-rc1. Then with the following command, we can accomplish this:<\/p>\n<pre class=\"brush:bash\">WXMs-MacBook-Pro:java-driver WXM$ git checkout 3.0.0-rc1\nPrevious HEAD position was 8fc9511... Update contribution guidelines\nHEAD is now at d858301... [maven-release-plugin] prepare release 3.0.0-rc1\n<\/pre>\n<p>This means that we&#8217;re under the repository of version 3.0.0-rc1. Right now you see how easy it could be to manipulate the versions and branches.<\/p>\n<h2>3. Conclusion<\/h2>\n<p>With the default version-control property, <code>Git<\/code> makes it very easy to work on different versions and branches. Hence, this makes convenient for us to manage our project. With the command <code>git checkout<\/code>, we can switch between different version and branches. So, let&#8217;s start and work on our own project with different versions:)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we know, Git has been widely used among software programmers. It is free and open-source. Also, it&#8217;s powerful by its distributed nature, fast operation and branch handling mechanism. The distributed property makes it easy and efficient for multiple developers to work together, towards the same project. In addition, Git works fast with its lightweight &hellip;<\/p>\n","protected":false},"author":73,"featured_media":27377,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1353],"tags":[1532],"class_list":["post-39108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git","tag-git-clone"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Git Clone Version Example - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it&#039;s powerful by its distributed nature, fast operation\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Clone Version Example - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it&#039;s powerful by its distributed nature, fast operation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-12T08:00:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-23T11:28:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jun Wu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jun Wu\" \/>\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:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\"},\"author\":{\"name\":\"Jun Wu\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/6593091dba631ca0f41c4ba4e7c97678\"},\"headline\":\"Git Clone Version Example\",\"datePublished\":\"2016-07-12T08:00:13+00:00\",\"dateModified\":\"2019-04-23T11:28:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\"},\"wordCount\":900,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg\",\"keywords\":[\"git clone\"],\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\",\"name\":\"Git Clone Version Example - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg\",\"datePublished\":\"2016-07-12T08:00:13+00:00\",\"dateModified\":\"2019-04-23T11:28:40+00:00\",\"description\":\"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it's powerful by its distributed nature, fast operation\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Software Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/software-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Git\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/software-development\/git\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Git Clone Version Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/6593091dba631ca0f41c4ba4e7c97678\",\"name\":\"Jun Wu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/11\/Jun-Wu-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/11\/Jun-Wu-96x96.jpg\",\"caption\":\"Jun Wu\"},\"description\":\"Jun (Steven) Wu is a current Master student in Computer Science &amp; Engineering department of University of Nebraska Lincoln (Lincoln, NE, USA). His current interests focus on Programming Languages (Java, Python), Relational Database (MySQL), NoSQL Database (Apache Cassandra, MongoDB), and Computer Networks.\",\"sameAs\":[\"https:\/\/wuxiaomin98.wordpress.com\/\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/jun-wu\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git Clone Version Example - Java Code Geeks","description":"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it's powerful by its distributed nature, fast operation","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:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/","og_locale":"en_US","og_type":"article","og_title":"Git Clone Version Example - Java Code Geeks","og_description":"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it's powerful by its distributed nature, fast operation","og_url":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2016-07-12T08:00:13+00:00","article_modified_time":"2019-04-23T11:28:40+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg","type":"image\/jpeg"}],"author":"Jun Wu","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Jun Wu","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/"},"author":{"name":"Jun Wu","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/6593091dba631ca0f41c4ba4e7c97678"},"headline":"Git Clone Version Example","datePublished":"2016-07-12T08:00:13+00:00","dateModified":"2019-04-23T11:28:40+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/"},"wordCount":900,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg","keywords":["git clone"],"articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/","url":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/","name":"Git Clone Version Example - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg","datePublished":"2016-07-12T08:00:13+00:00","dateModified":"2019-04-23T11:28:40+00:00","description":"As we know, Git has been widely used among software programmers. It is free and open-source. Also, it's powerful by its distributed nature, fast operation","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/09\/git-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/software-development\/git\/git-clone-version-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Software Development","item":"https:\/\/examples.javacodegeeks.com\/category\/software-development\/"},{"@type":"ListItem","position":3,"name":"Git","item":"https:\/\/examples.javacodegeeks.com\/category\/software-development\/git\/"},{"@type":"ListItem","position":4,"name":"Git Clone Version Example"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/6593091dba631ca0f41c4ba4e7c97678","name":"Jun Wu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/11\/Jun-Wu-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/11\/Jun-Wu-96x96.jpg","caption":"Jun Wu"},"description":"Jun (Steven) Wu is a current Master student in Computer Science &amp; Engineering department of University of Nebraska Lincoln (Lincoln, NE, USA). His current interests focus on Programming Languages (Java, Python), Relational Database (MySQL), NoSQL Database (Apache Cassandra, MongoDB), and Computer Networks.","sameAs":["https:\/\/wuxiaomin98.wordpress.com\/"],"url":"https:\/\/examples.javacodegeeks.com\/author\/jun-wu\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/39108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=39108"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/39108\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/27377"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=39108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=39108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=39108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}