{"id":19209,"date":"2020-11-02T23:27:31","date_gmt":"2020-11-02T17:57:31","guid":{"rendered":"https:\/\/internshala.com\/blog\/?p=19209"},"modified":"2021-01-20T16:06:09","modified_gmt":"2021-01-20T10:36:09","slug":"what-is-git-and-github","status":"publish","type":"post","link":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/","title":{"rendered":"What is Git and GitHub &#8211; Gitting acquainted"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19212 aligncenter\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/What-is-Git-and-GitHub.png\" alt=\"What is Git and GitHub\" width=\"595\" height=\"372\" \/><br \/>\n<\/span><span style=\"font-weight: 400;\">Have you ever worked on a team project and found out that collaboration can be a messy affair? As the project evolves, it can be difficult to track changes. You can maintain multiple documents to keep track of various changes like my article drafts Git1, Git2, GittingItDone, etc., but is that really the most effective way to do it, especially if it\u2019s a complex coding project? <\/span><span style=\"font-weight: 400;\">And what happens when multiple people want to work on the same code simultaneously? Wouldn&#8217;t it be amazing if each individual could work on the project without overriding each other&#8217;s work? Enter Git, a software that makes collaboration a breeze!<\/span><\/p>\n<p style=\"text-align: justify;\"><b>What is Git?\u00a0<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Git is a version control software (VCS), which was created in 2005 by Linus Torvalds, the creator of Linux kernel. As a VCS, it keeps a history of all the versions of your project including line by line changes, the time of changes, and the user who made it. So, if you mess something up in your code, you can always go back to the previous version. At least your code can time travel!<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Although there are many version control systems, Git dominates the field. One of the main reasons behind this is that Git is a distributed version control system (DVCS). Through this software, each developer can create their copy of the code file on their computer and work on it offline. Any changes made by them are reflected in their copy, which prevents overriding. This feature also allows multiple people to work on a project simultaneously. The changes can be merged in a file on the central server, which allows seamless collaboration. <\/span><span style=\"font-weight: 400;\">This makes Git<\/span> <span style=\"font-weight: 400;\">extremely important for software development projects which has multiple collaborators working together. It ensures the smooth functioning of code by taking care of any code conflicts. Therefore, Git is an important part of every developer\u2019s toolkit. <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<p style=\"text-align: justify;\"><b>What are the features of Git?<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Besides being a distributed version control system, Git has the following features:<\/span><\/p>\n<p style=\"text-align: justify;\"><b>1. Open source<\/b><span style=\"font-weight: 400;\"> &#8211; Git is a free, open-source software. You can download Git and tailor the source code for your needs. Can it git any better?\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><b>2. Integrity with hash algorithms <\/b><span style=\"font-weight: 400;\">&#8211; Git uses cryptographic hashes to make sure that the data you store in a file remains the same when you retrieve it later on. There\u2019s no way that the data can be altered without Git knowing it! This alerts you to any corruption of data and is especially helpful for source code management.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>3. Fast <\/b><span style=\"font-weight: 400;\">&#8211; Because Git is a distributed version control system, you do not need to be connected to a network to perform most operations. This makes Git faster than many version control softwares.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>4. Efficient data storage <\/b><span style=\"font-weight: 400;\">&#8211; Git compresses data, so it does not take up as much as space as other version control systems like Subversion and CVS.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>Basic Git terminology<\/b><\/p>\n<p style=\"text-align: justify;\"><b>1. Repository (repo) <\/b><span style=\"font-weight: 400;\">&#8211;<\/span> <span style=\"font-weight: 400;\">A repository, also called repo, is like a project consisting of a collection of files and the changes made to them. As a DVCS, Git allows developers to work on repositories locally. Any changes they make are to their own local repository. They can request for these changes to be merged in the remote repository for collaboration. This is called <\/span><i><span style=\"font-weight: 400;\">pushing<\/span><\/i><span style=\"font-weight: 400;\"> changes.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">There are various ways to work on a repo. You can create one using the git command, <\/span><i><span style=\"font-weight: 400;\">git init<\/span><\/i><span style=\"font-weight: 400;\">. You can also <\/span><i><span style=\"font-weight: 400;\">clone<\/span><\/i><span style=\"font-weight: 400;\"> a remote repository and make changes to that.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>2. Commit &#8211; <\/b><span style=\"font-weight: 400;\">A commit is any change that you make in your local repo and save. It\u2019s like the \u2018save\u2019 feature in text editors. However, Git has a unique identity for each change, which is called a hash. Commits are one of the key features of Git, which help you keep track of important changes in your project. <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b><br \/>\n3. Branches &#8211; <\/b><span style=\"font-weight: 400;\">Branches refers to any time a programmer wants to diverge from a main line. For example, if a developer is working on a feature, they can write it in a separate branch before merging it into the main code.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>4. Staging area &#8211; <\/b>Committing a change takes place in two parts &#8211; putting the changes in the staging area followed by actually committing these changes.<span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Once Git was created, it was made open for contributions from the open-source community. Many of these contributors helped in increasing the outreach of Git. In 2008, 4 programmers launched a platform to host Git repositories. This was called GitHub.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>What is GitHub?<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">GitHub is the most popular website for hosting Git projects. With a user base of 50 million developers, it\u2019s also a social networking site for all kinds of developers from Google to Microsoft. Although Google had its own social coding platform called Google Code, it was shut down and Google moved many of its open source projects to GitHub \u201cto meet developers where they are\u201d.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You can use Git and GitHub independently. You never have to use GitHub if you are using Git. However, many Git operations are easier on the web interface.<\/span><\/p>\n<p style=\"text-align: center;\"><i><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19216\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/GitHub-interface1.png\" alt=\"\" width=\"752\" height=\"394\" \/>Who wouldn\u2019t want to work with such fun graphics?<\/span><\/i><\/p>\n<p style=\"text-align: justify;\"><b>How does GitHub work?<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">GitHub is built on Git, so you can do all things Git on GitHub along with other additional features.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19218\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/Uses-of-GitHub.png\" alt=\"\" width=\"535\" height=\"491\" \/><\/p>\n<p style=\"text-align: justify;\"><b>1. Create a repository in GitHub<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You can create a new repository by simply signing up and clicking on create a new repository. To add a description of your project, you can add a README file.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19217\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/Creating-a-repository-in-GitHub1.png\" alt=\"\" width=\"717\" height=\"573\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you are not sure what kind of repository you want to create, then you check out the <\/span><a href=\"https:\/\/github.com\/trending\"><span style=\"font-weight: 400;\">trending<\/span><\/a><span style=\"font-weight: 400;\"> repositories or some <\/span><a href=\"https:\/\/medium.com\/better-programming\/10-extraordinary-github-repos-for-all-developers-939cdeb28ad0\"><span style=\"font-weight: 400;\">popular<\/span><\/a><span style=\"font-weight: 400;\"> ones.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><b>2. Create commits<\/b><\/p>\n<p><b><\/b>Any changes that you make to the repo is called a <i>commit<\/i>. With each commit, you can add a description to convey its purpose. You can also view a history of your commits, and you can click on any commit to see the changes that have been made.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><b>3. Branching<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Every repo has a &#8220;main&#8221; branch by default. This should ideally contain your main code.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19220\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/Branches-in-GitHub.png\" alt=\"\" width=\"386\" height=\"403\" \/><\/p>\n<p style=\"text-align: justify;\"><b>4.Fork a repository<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you come across a public repository that catches your eye, and you want to make changes to it but aren&#8217;t quite sure about the changes yet, you can create a copy of it in your account. This is called <\/span><i><span style=\"font-weight: 400;\">forking <\/span><\/i><span style=\"font-weight: 400;\">and can be done<\/span><span style=\"font-weight: 400;\">\u00a0by clicking on the &#8216;fork&#8217; button.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19223\" src=\"https:\/\/internshala.com\/wp-content\/uploads\/2020\/11\/Fork-a-repo.png\" alt=\"\" width=\"796\" height=\"308\" \/><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Once you have made the changes and are convinced that they can help the original repo owner, you can send them a request to add your code to the main repo. This is called a <\/span><i><span style=\"font-weight: 400;\">pull request<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>5. Resolve conflicts<\/b><\/p>\n<p>When multiple people are collaborating on a project, conflicts can arise. For example, if two programmers have made changes to the same line of code, then the repo owner needs to decide which change they want to go with.<\/p>\n<p style=\"text-align: justify;\"><b>6. Clone repo to Git and push\/pull changes<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You can copy a remote repository on your machine by \u2018cloning\u2019 it. You can then work on it locally through Git.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>7. Post issues<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Issues are like comments on a particular project. You can use this to suggest changes to the project or ask questions among other things.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>8. Host a static website<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">You can use GitHub pages to create one free website with each account. This is an exclusive feature on GitHub, which is not present on Git.<\/span><\/p>\n<p style=\"text-align: justify;\"><b>How to learn Git and GitHub?<\/b><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Now that you know why Git and GitHub are important, let\u2019s find out about how to learn them.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you want to dabble in Git and GitHub before committing to learning it, then you can check GitHub\u2019s <\/span><a href=\"https:\/\/try.github.io\/\"><span style=\"font-weight: 400;\">guides<\/span><\/a><span style=\"font-weight: 400;\">.You can also make use of <\/span><a href=\"https:\/\/stackoverflow.com\/questions\"><span style=\"font-weight: 400;\">Stack Overflow<\/span><\/a><span style=\"font-weight: 400;\"> for any queries that you may have.\u00a0<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you are all jazzed up about learning Git, then you can check out <\/span><a href=\"https:\/\/trainings.internshala.com\/git-training\/?utm_source=IS_Blog&amp;utm_medium=What-is-Git-and-GitHub\"><span style=\"font-weight: 400;\">Internshala\u2019s Git training<\/span><\/a><span style=\"font-weight: 400;\"> and git going! (we don\u2019t use so many puns there in case you are worried). This training has been designed especially for beginners and will help you master the basics with your own project! <\/span><span style=\"font-weight: 400;\">You can use BLOG10 to get a discount of 10%.<\/span><\/p>\n<p style=\"text-align: justify;\"><b><i>Image credits:<\/i><\/b><i><span style=\"font-weight: 400;\"> https:\/\/icon-icons.com\/icon\/file-type-git\/130581<\/span><\/i><\/p>\n<p style=\"text-align: justify;\"><i><span style=\"font-weight: 400;\">https:\/\/icon-icons.com\/icon\/github-git\/145985<\/span><\/i><\/p>\n<aside class=\"mashsb-container mashsb-main \"><div class=\"mashsb-box\"><div class=\"mashsb-count mash-medium\" style=\"float:left\"><div class=\"counts mashsbcount\">39<\/div><span class=\"mashsb-sharetext\">SHARES<\/span><\/div><div class=\"mashsb-buttons\"><a class=\"mashicon-facebook mash-medium mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Finternshala.com%2Fblog%2Fwhat-is-git-and-github%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share&nbsp;on&nbsp;Facebook<\/span><\/a><a class=\"mashicon-subscribe mash-medium mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Get&nbsp;Your&nbsp;Dream&nbsp;Internship<\/span><\/a><div class=\"onoffswitch2 mash-medium mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.42-->","protected":false},"excerpt":{"rendered":"<p>Have you ever worked on a team project and found out that collaboration can be a messy affair? As the project evolves, it can be difficult to track changes. You<\/p>\n","protected":false},"author":5355,"featured_media":19213,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1594,4171],"tags":[4156,384],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Git and GitHub - Gitting acquainted - Internshala blog<\/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:\/\/internshala.com\/blog\/what-is-git-and-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Git and GitHub - Gitting acquainted - Internshala blog\" \/>\n<meta property=\"og:description\" content=\"Have you ever worked on a team project and found out that collaboration can be a messy affair? As the project evolves, it can be difficult to track changes. You\" \/>\n<meta property=\"og:url\" content=\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\" \/>\n<meta property=\"og:site_name\" content=\"Internshala blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-02T17:57:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-20T10:36:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2020\/11\/What-is-Git-and-GitHub1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"390\" \/>\n\t<meta property=\"og:image:height\" content=\"243\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Internshala\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Internshala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\"},\"author\":{\"name\":\"Internshala\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/f0be3a17aa62a7b75486919fd00ecb20\"},\"headline\":\"What is Git and GitHub &#8211; Gitting acquainted\",\"datePublished\":\"2020-11-02T17:57:31+00:00\",\"dateModified\":\"2021-01-20T10:36:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\"},\"wordCount\":1355,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/internshala.com\/blog\/#organization\"},\"keywords\":[\"Programming\",\"Software Development\"],\"articleSection\":[\"Programming\",\"Training SEO articles\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\",\"url\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\",\"name\":\"What is Git and GitHub - Gitting acquainted - Internshala blog\",\"isPartOf\":{\"@id\":\"https:\/\/internshala.com\/blog\/#website\"},\"datePublished\":\"2020-11-02T17:57:31+00:00\",\"dateModified\":\"2021-01-20T10:36:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/internshala.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning Tracks\",\"item\":\"https:\/\/internshala.com\/blog\/learning-tracks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Programming\",\"item\":\"https:\/\/internshala.com\/blog\/learning-tracks\/programming\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"What is Git and GitHub &#8211; Gitting acquainted\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/internshala.com\/blog\/#website\",\"url\":\"https:\/\/internshala.com\/blog\/\",\"name\":\"Internshala blog\",\"description\":\"Your favourite senior outside college\",\"publisher\":{\"@id\":\"https:\/\/internshala.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/internshala.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/internshala.com\/blog\/#organization\",\"name\":\"Internshala blog\",\"url\":\"https:\/\/internshala.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png\",\"contentUrl\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png\",\"width\":112,\"height\":31,\"caption\":\"Internshala blog\"},\"image\":{\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/f0be3a17aa62a7b75486919fd00ecb20\",\"name\":\"Internshala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/internshala.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2025\/10\/IS-Logo-96x96.png\",\"contentUrl\":\"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2025\/10\/IS-Logo-96x96.png\",\"caption\":\"Internshala\"},\"description\":\"Internshala is India\u2019s leading early-career platform, helping students and fresh graduates find internships, jobs, and online trainings. With over a decade of experience in empowering young professionals, Internshala shares insights and resources to help them build successful careers.\",\"sameAs\":[\"http:\/\/blog.internshala.com\",\"https:\/\/www.linkedin.com\/company\/internshala\/\"],\"url\":\"https:\/\/internshala.com\/blog\/author\/internshala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Git and GitHub - Gitting acquainted - Internshala blog","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:\/\/internshala.com\/blog\/what-is-git-and-github\/","og_locale":"en_US","og_type":"article","og_title":"What is Git and GitHub - Gitting acquainted - Internshala blog","og_description":"Have you ever worked on a team project and found out that collaboration can be a messy affair? As the project evolves, it can be difficult to track changes. You","og_url":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/","og_site_name":"Internshala blog","article_published_time":"2020-11-02T17:57:31+00:00","article_modified_time":"2021-01-20T10:36:09+00:00","og_image":[{"width":390,"height":243,"url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2020\/11\/What-is-Git-and-GitHub1.png","type":"image\/png"}],"author":"Internshala","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Internshala","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#article","isPartOf":{"@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/"},"author":{"name":"Internshala","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/f0be3a17aa62a7b75486919fd00ecb20"},"headline":"What is Git and GitHub &#8211; Gitting acquainted","datePublished":"2020-11-02T17:57:31+00:00","dateModified":"2021-01-20T10:36:09+00:00","mainEntityOfPage":{"@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/"},"wordCount":1355,"commentCount":4,"publisher":{"@id":"https:\/\/internshala.com\/blog\/#organization"},"keywords":["Programming","Software Development"],"articleSection":["Programming","Training SEO articles"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/internshala.com\/blog\/what-is-git-and-github\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/","url":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/","name":"What is Git and GitHub - Gitting acquainted - Internshala blog","isPartOf":{"@id":"https:\/\/internshala.com\/blog\/#website"},"datePublished":"2020-11-02T17:57:31+00:00","dateModified":"2021-01-20T10:36:09+00:00","breadcrumb":{"@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/internshala.com\/blog\/what-is-git-and-github\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/internshala.com\/blog\/what-is-git-and-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/internshala.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Learning Tracks","item":"https:\/\/internshala.com\/blog\/learning-tracks\/"},{"@type":"ListItem","position":3,"name":"Programming","item":"https:\/\/internshala.com\/blog\/learning-tracks\/programming\/"},{"@type":"ListItem","position":4,"name":"What is Git and GitHub &#8211; Gitting acquainted"}]},{"@type":"WebSite","@id":"https:\/\/internshala.com\/blog\/#website","url":"https:\/\/internshala.com\/blog\/","name":"Internshala blog","description":"Your favourite senior outside college","publisher":{"@id":"https:\/\/internshala.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/internshala.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/internshala.com\/blog\/#organization","name":"Internshala blog","url":"https:\/\/internshala.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png","contentUrl":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2023\/08\/LOGO-1.png","width":112,"height":31,"caption":"Internshala blog"},"image":{"@id":"https:\/\/internshala.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/f0be3a17aa62a7b75486919fd00ecb20","name":"Internshala","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/internshala.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2025\/10\/IS-Logo-96x96.png","contentUrl":"https:\/\/internshala.com\/blog\/wp-content\/uploads\/2025\/10\/IS-Logo-96x96.png","caption":"Internshala"},"description":"Internshala is India\u2019s leading early-career platform, helping students and fresh graduates find internships, jobs, and online trainings. With over a decade of experience in empowering young professionals, Internshala shares insights and resources to help them build successful careers.","sameAs":["http:\/\/blog.internshala.com","https:\/\/www.linkedin.com\/company\/internshala\/"],"url":"https:\/\/internshala.com\/blog\/author\/internshala\/"}]}},"_links":{"self":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts\/19209"}],"collection":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/users\/5355"}],"replies":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/comments?post=19209"}],"version-history":[{"count":0,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/posts\/19209\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/media\/19213"}],"wp:attachment":[{"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/media?parent=19209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/categories?post=19209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/internshala.com\/blog\/wp-json\/wp\/v2\/tags?post=19209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}