<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hasini Siriwardena on Medium]]></title>
        <description><![CDATA[Stories by Hasini Siriwardena on Medium]]></description>
        <link>https://medium.com/@hasinisiriwardena1003?source=rss-387e35923370------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nA7FLmzI8Ws-iMYc6csukw.jpeg</url>
            <title>Stories by Hasini Siriwardena on Medium</title>
            <link>https://medium.com/@hasinisiriwardena1003?source=rss-387e35923370------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 17 May 2026 19:20:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hasinisiriwardena1003/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Git vs GitHub: Understanding the Difference]]></title>
            <link>https://medium.com/@hasinisiriwardena1003/git-vs-github-understanding-the-difference-88ab308d8361?source=rss-387e35923370------2</link>
            <guid isPermaLink="false">https://medium.com/p/88ab308d8361</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[tracking]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <dc:creator><![CDATA[Hasini Siriwardena]]></dc:creator>
            <pubDate>Thu, 14 May 2026 12:22:13 GMT</pubDate>
            <atom:updated>2026-05-14T12:22:13.358Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Never used Git before? This article breaks down every term you’ll encounter—no jargon, no fluff.</em></p><p>Istill remember the first time I heard the word “Git.”<br>We were in the middle of working on an academic project during our first year, and everyone around me kept mentioning GitHub, repositories, commits, and version control. Honestly, I had no idea what any of those words meant at the time.</p><p>After coming home, I searched for the word “Git,” hoping for a simple explanation.<br> The first thing that appeared everywhere was the term<strong> Version Control.</strong></p><p>At first, that sounded even more confusing.</p><p>Why would developers need something called version control?<br>Why was Git so important in software development?<br>And what exactly was the difference between Git and GitHub?</p><p>If you are someone who has asked these same questions, this article is for you.</p><p>In this beginner-friendly guide, I’ll explain:</p><ul><li>What Git is</li><li>What GitHub is</li><li>What repositories are</li><li>Common GitHub terms beginners should know</li><li>And why developers use Git in real-world projects</li></ul><p>Let’s get started.</p><h3>What is Git?</h3><p>Imagine you are writing a long essay for university. You keep saving copies of it as you go “essay1”, “essayfinal”, “essayFINALfinal”… sound familiar right?</p><p>Now imagine doing that with hundreds of code files, across a team of ten developers, all working on the same project at the same time.</p><p>That is the problem Git solves.</p><p>Git is a version control system. It tracks every change you make to your code over time. With Git, you can:</p><ul><li>Go back to any previous version of your code</li><li>See exactly what changed, when, and who changed it</li><li>Work on the same project with other developers without overwriting each other’s work.</li></ul><h3>What is GitHub?</h3><p>If Git is the tool, GitHub is the place where you store and share your work.</p><p><strong>GitHub is a website that hosts your Git projects online.</strong> Think of it like Google Drive — but specifically built for code. Once your code is on GitHub, you can:</p><ul><li>Access it from any device</li><li>Share it with teammates or the public</li><li>Let others contribute to your project</li><li>Show your work to future employers</li></ul><p>Here is a simple way to remember the difference:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kAr8RT-Rb5vfU3As45zT9A.png" /><figcaption>Git vs GitHub</figcaption></figure><h3>What is a Repository?</h3><p>A <strong>repository</strong> (or “repo” for short) is simply a folder that Git is tracking.</p><p>When you create a new project and initialize Git inside it, that folder becomes a repository. Everything inside it — your code files, images, config files — is tracked by Git.</p><p>Repositories can be</p><ul><li><strong>Local</strong> — stored on your computer</li><li><strong>Remote</strong> — stored on a platform like GitHub</li></ul><p>When you push your local repo to GitHub, you now have both a local copy and a remote copy. This is one of the most powerful things about Git — your code is never in just one place.</p><p><strong>Commit</strong></p><p>Explain:</p><ul><li>Saving changes with a message</li><li>Like creating checkpoints</li></ul><p><strong>Push</strong></p><p>Explain:</p><ul><li>Uploading local changes to GitHub</li></ul><p><strong>Pull</strong></p><p>Explain:</p><ul><li>Downloading latest changes from GitHub</li></ul><p><strong>Clone</strong></p><p>Explain:</p><ul><li>Copying a repository to your computer</li></ul><p><strong>Branch</strong></p><p>Explain:</p><ul><li>Separate version of a project for testing features</li></ul><p><strong>Merge</strong></p><p>Explain:</p><ul><li>Combining branches together</li></ul><p><strong>Fork</strong></p><p>Explain:</p><ul><li>Copying someone else’s repository into your account</li></ul><p><strong>Pull Request (PR)</strong></p><p>Explain:</p><ul><li>Requesting changes to be reviewed before merging</li></ul><p><strong>README File</strong></p><p>Explain:</p><ul><li>Introduction/documentation file of the project</li></ul><h3>Why Developers Use Git in Real Projects?</h3><p>At this point you might be thinking, &quot;Okay,<em> I understand what Git is ; but do I actually need it?”</em></p><p>The answer is yes, and here is why.</p><p><strong>Every company uses it.</strong> Whether it is a startup or a large tech company, Git is the industry standard for managing code. Knowing Git is not optional; it is expected.</p><p><strong>It prevents disasters.</strong> Without version control, one bad change can break everything, and there is no way to undo it. With Git, you can always roll back to a previous working version.</p><p><strong>It enables teamwork.</strong> Multiple developers can work on different parts of the same project at the same time, on separate branches, without stepping on each other’s work.</p><p><strong>Your GitHub profile is your portfolio.</strong> Recruiters and hiring managers look at GitHub profiles to see what candidates have built. Every repo you create and every commit you make contribute to your public profile.</p><h3>A Simple First Workflow</h3><p>Here is what a basic Git and GitHub workflow looks like for a beginner:</p><ol><li>Create a new repository on GitHub</li><li>Clone it to your computer: <strong><em>git clone &lt;repo-url&gt;</em></strong></li><li>Make changes to your files</li><li>Stage your changes: <strong><em>git add .</em></strong></li><li>Commit with a message: <strong><em>git commit -m “my first commit”</em></strong></li><li>Push to GitHub: <strong><em>git push</em></strong></li></ol><p>That is it. Those six steps are the foundation of everything.</p><p>When I first encountered Git, I felt completely lost — not because it is complicated, but because no one explained it in plain language.</p><p>Once you understand the core concepts — what a repo is, what a commit does, and the difference between Git and GitHub — everything else starts to make sense.</p><p>You do not need to memorise every command on day one. Start by creating a repository, making a few commits, and pushing your code to GitHub. The rest will come naturally with practice.</p><p>If this article helped you, share it with someone who is just getting started. We were all beginners once.</p><p><em>Written by a fellow beginner, for beginners.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88ab308d8361" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>