<?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 Gorakh Raj Joshi on Medium]]></title>
        <description><![CDATA[Stories by Gorakh Raj Joshi on Medium]]></description>
        <link>https://medium.com/@gorakhjoshi?source=rss-112a7783fb7b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*H5viaLGqGkq4bMfr.</url>
            <title>Stories by Gorakh Raj Joshi on Medium</title>
            <link>https://medium.com/@gorakhjoshi?source=rss-112a7783fb7b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 06:43:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gorakhjoshi/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[Getting Started with Git: A Beginner’s Guide]]></title>
            <link>https://medium.com/@gorakhjoshi/getting-started-with-git-a-beginners-guide-6e8784ff2b16?source=rss-112a7783fb7b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e8784ff2b16</guid>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[version-control-system]]></category>
            <dc:creator><![CDATA[Gorakh Raj Joshi]]></dc:creator>
            <pubDate>Fri, 20 Sep 2024 06:10:59 GMT</pubDate>
            <atom:updated>2024-09-20T11:48:41.287Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VgPzWWRiwhy_X9cp" /></figure><p>Git is a powerful version control system that helps developers track changes in their code, collaborate with others, and maintain multiple versions of a project. Whether you’re working on a solo project or contributing to a team, Git is an essential tool in modern software development. Here’s a quick guide to get you started.</p><h3>What is Git?</h3><p>Git is a distributed version control system. This means that it stores your project’s history (all the changes you’ve made) locally on your computer. With Git, you can track changes, revert to previous versions, and collaborate with others without fear of losing work.</p><h3>Installing Git</h3><p>To start using Git, you first need to install it on your machine. You can download it from the official (<a href="https://git-scm.com/">https://git-scm.com/</a>). Once installed, you can verify it by running the following command in your terminal:</p><pre>git — version</pre><h3>Basic Git Commands</h3><p><strong>1. Setting up Git</strong><br>Before you start, configure your name and email address, which will be used in your commits:</p><pre><br> git config — global user.name “Your Name”<br> git config — global user.email “youremail@example.com”</pre><p><strong>2. Initializing a repository</strong><br> To start tracking your project with Git, navigate to your project folder and initialize a new Git repository:</p><pre>git init</pre><p>This creates a hidden `.git` folder that stores all the version history.</p><p><strong>3. Checking the status</strong><br> You can check the current state of your files using:</p><pre>git status</pre><p><strong>4. Adding files to staging</strong><br> When you create or modify files, Git needs to know which changes you want to include in the next commit. Use the following to add files:</p><pre>git add &lt;filename&gt;</pre><p>Or to add all files:</p><pre>git add .</pre><p><strong>5. Committing changes</strong><br> Once your changes are staged, commit them with a descriptive message:</p><pre>git commit -m “Describe what you changed”</pre><p><strong>6. Viewing the history</strong><br> To see a list of all the commits you’ve made:</p><pre>git log</pre><p><strong>7. Pushing changes to a remote repository</strong><br> If you’re working with an online Git hosting service (like GitHub), you’ll need to push your changes to a remote repository. First, connect your local repository to a remote one:</p><pre>git remote add origin &lt;remote-url&gt;</pre><pre>git push -u origin master</pre><p><strong>Conclusion</strong><br>Git is a robust tool, but at its core, it follows simple principles of tracking changes and collaboration. By learning basic commands like <strong><em>git init</em></strong>, <strong><em>git add</em></strong>, and <strong><em>git commit</em></strong>, you’ll be well on your way to mastering version control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e8784ff2b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>