{"data":{"markdownRemark":{"html":"<h2 id=\"why-git\"><a href=\"#why-git\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Why Git?</h2>\n<p>Git is a version control system commonly used for tracking changes in computer files and coordinating work on those files among multiple people. We use Git here to share sample projects that you can use to get started.</p>\n<p>You don't have to use Git to download these sample projects. If you prefer not to use Git, you can download them following the instructions on the installation page.</p>\n<h2 id=\"installing-git---mac-os-and-linux\"><a href=\"#installing-git---mac-os-and-linux\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Installing Git - Mac OS and Linux</h2>\n<p>Use your package manager to run the following command line:\nYou now have a sample repository on your computer. Move on to the <a href=\":version/overview/requirements\">Requirements</a> page for information about the requirements needed to write models using the Simudyne SDK, and the <a href=\":version/overview/requirements#intellij\">IntelliJ</a> or <a href=\":version/reference/alternative_setups/installing_eclipse\">Eclipse</a> pages for instructions on opening and starting to work on these projects.</p>\n<p class=\"code-header\">Mac OS</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">brew <span class=\"token function\">install</span> <span class=\"token function\">git</span></code></pre></div>\n<p class=\"code-header\">Debian/Ubuntu</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">sudo</span> <span class=\"token function\">apt-get</span> update\n<span class=\"token function\">sudo</span> <span class=\"token function\">apt-get</span> upgrade\n<span class=\"token function\">sudo</span> <span class=\"token function\">apt-get</span> <span class=\"token function\">install</span> <span class=\"token function\">git</span></code></pre></div>\n<h2 id=\"installing-git---windows-os\"><a href=\"#installing-git---windows-os\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Installing Git - Windows OS</h2>\n<h3 id=\"unlock-the-developer-mode\"><a href=\"#unlock-the-developer-mode\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Unlock the Developer mode</h3>\n<p>Go on control panel then settings and for developers. Check the <em>Developer mode</em>\n<a href=\"https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development\">Official Microsoft Documentation on it</a></p>\n<h3 id=\"git-command-line\"><a href=\"#git-command-line\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Git command line</h3>\n<p>Go to the <a href=\"https://git-scm.com/download/win\">download page</a>. Select the right link according you are a 32 or 64 bit CPU .<a href=\"https://www.computerhope.com/issues/ch001121.htm\">How to check?</a>\nOnce it is done, run the .exe file and let everything as default.</p>\n<h2 id=\"downloading-a-sample-project-cloning-with-git\"><a href=\"#downloading-a-sample-project-cloning-with-git\" aria-hidden=\"true\" class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Downloading a sample project (cloning with git)</h2>\n<p>Run the following command. (replace &#x3C;repository link> with the ssh/https link you got from GitHub). This will allow you to download sample project on your machine.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-a2e8a.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block; padding: 20px; max-width: 418px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 51.196172248803826%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAAAsSAAALEgHS3X78AAAB7UlEQVQoz21SO2/UQBD2b6WDBokCRUK8GoIoeBQUFBT0tBSRICICCcrciSR3ic/ccQ8/18+7tde79sfMOokEysrjmdmd+Wbnm3WklPDDCFEsEEYxgjBGtZPY+CFJgDXJlnw+W28CxFmK1z/f4/HRSzw6eoWn397g2fe32Dt8jg/HH+EU1Rbn3gJT18PkfAb39wJJmuN0eoGzqYvphQeRl5jNFziduJhvNrj/ZR+3Dx7gzsFD3P38BHtf93Hr0z28+PEOTqUAaYBdCxhjUDcNlFJWGrJlLcFd9H0PXn3XAfSx9JryZEcdcR75hONkNSB2PZJKI6d2jkdjupWL8a8TnJxNMBqPMKNbc4H/lyZQvzAICo2oIlDVwpHKgD7IRmO73cIPAiSJsPwFQUjcxgOX1OpyubJ2yJwnCQLfR5qm1wUUA2qtrdO2CmzneYGYgtM0Q0Z2luUkGQEnEJTMPhdMWYvUxmdFiZJm0bYEyAHadBadNxhstV5TsKDAAVBQIr8EQUUYJIyubIGyrDD/s8Jy7dsZOA1x03W95ciY7h+OLudw4+qvY3p0l4GM5VxtssOazwY9BClifpEoeLHCUrSYk81DuKmgbVnRbyB04JCvzaL1oGulMY9rK4ukhhfViEvqymj7xKSs6WnVVtek/wIRo/FJsVbb7wAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n    >\n      <picture>\n        <source\n          srcset=\"/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-2dfab.webp 173w,\n/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-a5ba5.webp 345w,\n/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-89bc9.webp 418w\"\n          sizes=\"(max-width: 418px) 100vw, 418px\"\n          type=\"image/webp\"\n        />\n        <source\n          srcset=\"/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-6ad60.png 173w,\n/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-6cef6.png 345w,\n/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-a2e8a.png 418w\"\n          sizes=\"(max-width: 418px) 100vw, 418px\"\n          type=\"image/png\"\n        />\n        <img\n          class=\"gatsby-resp-image-image\"\n          style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n          src=\"/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-a2e8a.png\"\n          alt=\"download sample project\"\n          title=\"\"\n          src=\"/static/download_sample_project-b32aea752ffbf3a1259fd0be63492467-a2e8a.png\"\n        />\n      </picture>\n      </span>\n  </span>\n  \n  </a>\n    </p>\n<div class=\"ui warning message\">\n<h4>Cloning Location</h4>\nBefore you run the command bellow, be careful to check where you are on your laptop.\nTo get the path, you can run this command (it will return your current directory): `pwd`\n</div>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> clone <span class=\"token operator\">&lt;</span>repository link<span class=\"token operator\">></span></code></pre></div>","headings":[{"value":"Why Git?","depth":2},{"value":"Installing Git - Mac OS and Linux","depth":2},{"value":"Installing Git - Windows OS","depth":2},{"value":"Unlock the Developer mode","depth":3},{"value":"Git command line","depth":3},{"value":"Downloading a sample project (cloning with git)","depth":2}],"frontmatter":{"title":"Git","toc":null,"experimental":null}},"site":{"siteMetadata":{"title":"Simudyne Docs","latestVersion":"2.6"}}},"pageContext":{"absolutePath":"/home/vsts/work/1/s/content/2.1/reference/alternative_setups/git.md","versioned":true,"version":"2.1","kind":"reference","pagePath":"/reference/alternative_setups/git","chronology":{"prev":{"name":"Alternative Setups","path":"/reference/alternative_setups"},"next":{"name":"Sample projects","path":"/reference/alternative_setups/sample_projects"}},"lastUpdated":"2026-04-21T13:56:54.830Z"}}