{"id":7079,"date":"2021-03-16T09:59:28","date_gmt":"2021-03-16T09:59:28","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=7079"},"modified":"2024-04-03T08:14:35","modified_gmt":"2024-04-03T08:14:35","slug":"creating-repositories-and-files","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/","title":{"rendered":"Creating Repositories and Files in GitHub."},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Creating and managing repositories&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Creating and managing repositories<\/span><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>Creating and managing repositories is a fundamental aspect of version control and collaborative software development, allowing individuals and teams to organize, store, and track changes to their codebase effectively. Whether using GitLab, GitHub, or other version control platforms, the process typically involves several key steps.<\/p>\r\n<p>Firstly, to create a new repository, users navigate to the repository section of their version control platform and select the option to create a new repository. They provide essential details such as the repository name, description, and visibility settings (public or private).<\/p>\r\n<p>Once the repository is created, users can start adding files, directories, and code to the repository. This can be done by initializing a local repository on their computer, adding files, committing changes, and pushing those changes to the remote repository.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3><strong>Prerequisites<\/strong><\/h3>\r\n\r\n\r\n\r\n<p>Hardware : Local Machine<\/p>\r\n\r\n\r\n\r\n<p>GitHub Account<\/p>\r\n\r\n\r\n\r\n<p>Open the <a href=\"https:\/\/prwatech.in\/blog\/github\/creation-of-github-account\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/prwatech.in\/blog\/github\/creation-of-github-account\/\">GitHub<\/a> page.<\/p>\r\n\r\n\r\n\r\n<p>#Click on <a href=\"https:\/\/prwatech.in\/blog\/github\/creation-of-github-account\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/prwatech.in\/blog\/github\/creation-of-github-account\/\">profile<\/a> in right corner. Click on Your repositories.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7081\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg\" alt=\"\" width=\"335\" height=\"300\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg 449w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15-300x269.jpg 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Click New.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7082\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-17.jpg\" alt=\"\" width=\"455\" height=\"174\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-17.jpg 611w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/4-17-300x115.jpg 300w\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Give the Repository name. Choose public or private. Then press\u00a0Create Repository.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7083\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-14.jpg\" alt=\"\" width=\"504\" height=\"630\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-14.jpg 704w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-14-240x300.jpg 240w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>The Repository will be created.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7084\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-14-1024x377.jpg\" alt=\"\" width=\"610\" height=\"224\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-14-1024x377.jpg 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-14-300x111.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-14-768x283.jpg 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/6-14.jpg 1156w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>To create a new file click on add file &gt; Create new file.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7085\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-13.jpg\" alt=\"\" width=\"418\" height=\"133\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-13.jpg 665w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-13-300x95.jpg 300w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Give the name for the file and add the content.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7086\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/8-16.jpg\" alt=\"\" width=\"532\" height=\"435\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/8-16.jpg 712w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/8-16-300x245.jpg 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>After Completing the file, click Commit new file.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7087\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-12.jpg\" alt=\"\" width=\"510\" height=\"240\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-12.jpg 915w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-12-300x142.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/9-12-768x363.jpg 768w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>The file will be commit and it will be show in the <a href=\"https:\/\/github.com\/\">repository<\/a>.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Creating and managing repositories &nbsp; Creating and managing repositories is a fundamental aspect of version control and collaborative software development, allowing individuals and teams to organize, store, and track changes to their codebase effectively. Whether using GitLab, GitHub, or other version control platforms, the process typically involves several key steps. Firstly, to create a new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[647,1705],"tags":[648,650,793,794,652,792,653,651,796],"class_list":["post-7079","post","type-post","status-publish","format-standard","hentry","category-github","category-github-modules","tag-github","tag-github-account","tag-github-action","tag-github-desktop","tag-github-file","tag-github-login","tag-github-project","tag-github-repository","tag-github-tutorial"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating and managing repositories - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating and managing repositories - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-16T09:59:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-03T08:14:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/\",\"url\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/\",\"name\":\"Creating and managing repositories - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg\",\"datePublished\":\"2021-03-16T09:59:28+00:00\",\"dateModified\":\"2024-04-03T08:14:35+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg\",\"width\":449,\"height\":402},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Repositories and Files in GitHub.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating and managing repositories - Prwatech","description":"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Creating and managing repositories - Prwatech","og_description":"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-03-16T09:59:28+00:00","article_modified_time":"2024-04-03T08:14:35+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/","url":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/","name":"Creating and managing repositories - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg","datePublished":"2021-03-16T09:59:28+00:00","dateModified":"2024-04-03T08:14:35+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Creating and Managing Repositories - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-15.jpg","width":449,"height":402},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/github\/github-modules\/creating-repositories-and-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating Repositories and Files in GitHub."}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=7079"}],"version-history":[{"count":7,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7079\/revisions"}],"predecessor-version":[{"id":11249,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7079\/revisions\/11249"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=7079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=7079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=7079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}