{"id":4308,"date":"2018-01-25T14:13:13","date_gmt":"2018-01-25T14:13:13","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2018\/01\/25\/create-repository-github\/"},"modified":"2023-06-12T12:01:50","modified_gmt":"2023-06-12T16:01:50","slug":"create-repository-github","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/","title":{"rendered":"How to Create a Repository on GitHub"},"content":{"rendered":"<p>Now that you have <a href=\"\/support\/website\/git\/how-to-create-a-new-account-with-github\/\">created an account with GitHub<\/a>, you are ready to <strong>create a new repository<\/strong>. This would be a good time to check out our <a href=\"\/support\/website\/git\/setting-up-your-remote-repository-with-git\/\">Git guide on using remote repositories<\/a>. Basically, remote repositories are important for the following reasons:<\/p>\n<ul>\n<li>Provides a \u201chub\u201d for your code<\/li>\n<li>Supports collaboration<\/li>\n<li>Decentralizes your code to protect against loss<\/li>\n<\/ul>\n<p><!-- steps --><\/p>\n<h2>How to Create a Repository at GitHub<\/h2>\n<p>While you can create your own repository on your private server, the steps below demonstrate how you can create a repository at GitHub.<\/p>\n<ol class=\"article_list\">\n<li><!-- hub2Factor_-06.bmp --><a href=\"\/support\/images\/stories\/git\/hub2Factor_-06.bmp\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"float: right; margin: 0px 15px 15px 15px;\" src=\"\/support\/images\/stories\/git\/hub2Factor_-06.bmp\" alt=\"GitHub login screen\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Log into GitHub<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><!-- hub2Factor_-07.bmp --><a href=\"\/support\/images\/stories\/git\/hub2Factor_-07.bmp\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"float: right; margin: 0px 15px 15px 15px;\" src=\"\/support\/images\/stories\/git\/hub2Factor_-07.bmp\" alt=\"green New repository button\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Under <em>Your repositories<\/em> click <b>New repository<\/b><\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><!-- git-create-repo_-01.bmp --><a href=\"\/support\/images\/stories\/git\/git-create-repo_-01.bmp\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"float: right; margin: 0px 15px 15px 15px;\" src=\"\/support\/images\/stories\/git\/git-create-repo_-01.bmp\" alt=\"repository name input\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Fill in the <b>Repository name<\/b><\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><!-- git-create-repo_-02.bmp --><a href=\"\/support\/images\/stories\/git\/git-create-repo_-02.bmp\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"float: right; margin: 0px 15px 15px 15px;\" src=\"\/support\/images\/stories\/git\/git-create-repo_-02.bmp\" alt=\"green create repository button\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Click <b>Create repository<\/b><\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<\/ol>\n<h2>Explanation of Options<\/h2>\n<p>While you can create a repository with only a name, there are some other options you can select in advance that may help optimize your repository.<\/p>\n<table class=\"table table-striped table-bordered\" style=\"text-align: left;\">\n<tbody>\n<tr>\n<th>Description<\/th>\n<td>The optional description of your repository should be short and sweet. You don\u2019t need too much information here, but it might help to distinguish this repository in a large list.<\/td>\n<\/tr>\n<tr>\n<th><b>Public<\/b> or <b>Private<\/b><\/th>\n<td>If you have a free, personal account with GitHub then <em>Public<\/em> is your only choice.<\/td>\n<\/tr>\n<tr>\n<th>Initialize this repository with a README<\/th>\n<td>The README file is a detailed description of the project which can include special instructions, contribution policy, FAQ, and more. If your program requires more detailed documentation, you should consider using the Wiki feature that comes with your repository.<\/td>\n<\/tr>\n<tr>\n<th>Add .gitignore<\/th>\n<td>Various programming languages and operating systems create extraneous files you don\u2019t need to track. GitHub lets you select a programming language and automatically creates a <em>.gitignore<\/em> files with rules that will ignore those extraneous files. This will keep unwanted files out of your project.<\/td>\n<\/tr>\n<tr>\n<th>Add a license<\/th>\n<td>This option lets you quickly and easily add a popular softare license to your repository. This will help other people know how they are permitted to use your code.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- conclusion --><\/p>\n<h2>Where to go from here\u2026<\/h2>\n<p>Well done on your completion of this tutorial. In the above article we discussed how you can create a remote repository at GitHub as opposed to hosting one of your own. <b>While it\u2019s easy to host your own repository, GitHub has done a lot of the work for you.<\/b> You may be wondering what the next step might be.<\/p>\n<ul>\n<li>For a refresher on Git, check out our <a href=\"\/support\/git\/\">Introduction to Git<\/a>.<\/li>\n<li>Learn <a href=\"\/support\/website\/git\/setting-up-your-remote-repository-with-git\/\">how to host your own repository<\/a>.<\/li>\n<li>Use Git to <a href=\"\/support\/website\/git\/using-git-to-publish-files\/\">host frequently updated files<\/a>.<\/li>\n<\/ul>\n<p>If you have any questions about this article or using Git in general, please leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that you have created an account with GitHub, you are ready to create a new repository. This would be a good time to check out our Git guide on using remote repositories. Basically, remote repositories are important for the following reasons: Provides a \u201chub\u201d for your code Supports collaboration Decentralizes your code to protect<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4309],"tags":[],"class_list":["post-4308","post","type-post","status-publish","format-standard","hentry","category-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Repository on GitHub | InMotion Hosting<\/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.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Repository on GitHub | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Now that you have created an account with GitHub, you are ready to create a new repository. This would be a good time to check out our Git guide on using remote repositories. Basically, remote repositories are important for the following reasons: Provides a \u201chub\u201d for your code Supports collaboration Decentralizes your code to protect Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-25T14:13:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-12T16:01:50+00:00\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\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.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How to Create a Repository on GitHub\",\"datePublished\":\"2018-01-25T14:13:13+00:00\",\"dateModified\":\"2023-06-12T16:01:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\"},\"wordCount\":422,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\",\"name\":\"How to Create a Repository on GitHub | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2018-01-25T14:13:13+00:00\",\"dateModified\":\"2023-06-12T16:01:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Repository on GitHub\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Repository on GitHub | InMotion Hosting","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.inmotionhosting.com\/support\/website\/git\/create-repository-github\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Repository on GitHub | InMotion Hosting","og_description":"Now that you have created an account with GitHub, you are ready to create a new repository. This would be a good time to check out our Git guide on using remote repositories. Basically, remote repositories are important for the following reasons: Provides a \u201chub\u201d for your code Supports collaboration Decentralizes your code to protect Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2018-01-25T14:13:13+00:00","article_modified_time":"2023-06-12T16:01:50+00:00","author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How to Create a Repository on GitHub","datePublished":"2018-01-25T14:13:13+00:00","dateModified":"2023-06-12T16:01:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/"},"wordCount":422,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/","name":"How to Create a Repository on GitHub | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2018-01-25T14:13:13+00:00","dateModified":"2023-06-12T16:01:50+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/create-repository-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Create a Repository on GitHub"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4308"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4308\/revisions"}],"predecessor-version":[{"id":105137,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4308\/revisions\/105137"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}