{"id":1222,"date":"2017-07-09T16:03:40","date_gmt":"2017-07-09T16:03:40","guid":{"rendered":"http:\/\/www.testingdocs.com\/questions\/?p=1222"},"modified":"2024-10-09T08:06:14","modified_gmt":"2024-10-09T08:06:14","slug":"how-to-create-a-repository-on-github","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-create-a-repository-on-github\/","title":{"rendered":"How to create a repository on GitHub?"},"content":{"rendered":"<h2>How to create a repository on GitHub?<\/h2>\n<p>GitHub is a code hosting platform for version control and collaboration. It&#8217;s a distributed version control system. It lets you and others work together on projects from anywhere in the world. Let us see how to create a repository GitHub.<\/p>\n<h3><strong>Create a New Repository<\/strong><\/h3>\n<p>A repository contains folders and files, images, videos, etc. You can include a README, a file with information about your project.<\/p>\n<h3><strong>Steps<\/strong><\/h3>\n<p>Login to your GitHub account.<br \/>\nIn the upper right corner, click and then select New repository menu item.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-893\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/New-Repository-Github.jpeg\" alt=\"New Repository Github\" width=\"1363\" height=\"363\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Give a name to your repository.<br \/>\nChoose Public or Private option for your repository.<br \/>\nWrite a short description about your repository.<br \/>\nSelect Initialize this repository with a README.<br \/>\nClick Create repository as shown in below picture.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-894\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Create-Repository.jpeg\" alt=\"Create Repository\" width=\"1343\" height=\"680\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>By default your repository has one branch named master. You can find the overview of number of commits, branches, contributors etc on the screen as shown below.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-895\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Github-Overview.jpeg\" alt=\"Github Overview\" width=\"1365\" height=\"618\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p>Public repositories allow others to see what in your repository. However, you can choose who can commit changes to your repository.<\/p>\n<p>Private repository, on the other hand only allowed people can see and commit to your repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to create a repository on GitHub? GitHub is a code hosting platform for version control and collaboration. It&#8217;s a distributed version control system. It lets you and others work together on projects from anywhere in the world. Let us see how to create a repository GitHub. Create a New Repository A repository contains folders [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":24322,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[32],"class_list":["post-1222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git","tag-git","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":9,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":24330,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1222\/revisions\/24330"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media\/24322"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}