<?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 Sushmita Shet on Medium]]></title>
        <description><![CDATA[Stories by Sushmita Shet on Medium]]></description>
        <link>https://medium.com/@sushmita_shet?source=rss-810b2f8ec09f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*69etzMuoK9iQ-2jWf7DDEA.jpeg</url>
            <title>Stories by Sushmita Shet on Medium</title>
            <link>https://medium.com/@sushmita_shet?source=rss-810b2f8ec09f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:30:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sushmita_shet/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[Introduction to GIT Basics — Part One]]></title>
            <link>https://medium.com/the-next-team/introduction-to-git-basics-part-one-701fdf9cdb49?source=rss-810b2f8ec09f------2</link>
            <guid isPermaLink="false">https://medium.com/p/701fdf9cdb49</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Sushmita Shet]]></dc:creator>
            <pubDate>Tue, 25 Aug 2020 12:40:50 GMT</pubDate>
            <atom:updated>2020-08-25T12:40:50.250Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learning Software Development From Scratch — Collaboration Series</h4><h3>Introduction to GIT Basics — Part One</h3><h4>Learn how software developers, artists, and other amazing people collaborate together with workable examples</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mE0zZ-CQ7PG5wJaoIjvN-A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@austindistel?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Austin Distel</a> on <a href="https://unsplash.com/s/photos/software-development?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>We know in this world how technology is used and everywhere we go, we are indulged with it. Starting from the coffee machine to get things done at work. Have you ever wondered, how this is all happening, what is happening in the world how are we able to find apps for every utility of our life from playing games to measuring your heartbeat? We are not gonna talk about how they develop that software, but we are gonna learn what they use to develop, build, and scale in larger teams. Of course, this is not a one-man job unless you are <strong>Justin Long, </strong>form<strong> </strong>the <strong>Die Hard 4.</strong></p><p>These organizations of some amazing individuals called developers, collaborate to build the apps that help us to lead our life easier. To do this they need a central repository where they can keep track of files and scripts that they code. All versioning, tracking files, branches, and other environment-dependent tasks are stored in one system. To manage the code base and perform development actions we have mainly 2 systems, <strong>Git</strong> and <strong>Team Foundation Version Control/System (TFVC/TFVS)</strong></p><p>Git is a free, distributed version control system that allows programmers to keep track of code changes.</p><p><strong>Git Repository:</strong> Utilizing commits allows programmers to test, debug, and create new features collaboratively. All commits are kept in what is known as a “<strong>Git Repository</strong>” that can be hosted on your computer, private servers, or open-source websites, such as GitHub. GitHub provides cloud services using Git.</p><p><strong>Git Bash: </strong>Git Bash is a package that installs Bash, some common bash utilities and it includes the full set of Git core commands.</p><p>Git has 3 different areas for your code:</p><ul><li><strong>Working directory</strong>: The area that you will be doing all your work in (creating, editing, deleting, and organizing files)</li><li><strong>Staging area</strong>: The area where you will list the changes that you have made to the working directory</li><li><strong>Repository</strong>: Where Git permanently stores the changes, you have made as different versions of the project.</li></ul><h3>Difference between Git and GitHub:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DlInUd9-EQv567YJ.png" /></figure><p><strong>Git </strong>is a distributed version control system that tracks changes to source code over time. Git can work without GitHub as other web-based Git repositories are also available. It stores and catalog changes in code in a repository. It is installed on the local system.</p><p><strong>GitHub </strong>is a web-based hosting service for Git repository to bring teams together.GitHub is the most popular git server but there are other alternatives available such as GitLab and Bit Bucket. It provides a platform as a collaborative effort to bring teams together. It is hosted on the web.</p><h3>What is GitHub?</h3><p>Now to explain how Git works, I am going to explain to you how to create a Git repository and syncing it with our local computer. We will also learn how to do modifications in the file and how this will be synced to an online repository that is present in GitHub. GitHub is a development platform that hosts the Git repository to help us develop software/apps.</p><p><strong>Prerequisites:</strong></p><ol><li>Installing git in your local machine. To know how to install git in your local machine please visit <a href="https://git-scm.com/">https://git-scm.com/</a></li><li>Command Line Interface</li><li>Stable Internet connection</li><li>GitHub Account (If you don’t have an account, you can create on in here, <a href="https://www.github.com/">https://www.github.com</a>)</li></ol><p>Now, let’s move on to creating a repository in GitHub. After signing up, the GitHub home page opens, and you may need to verify your email address. After that go to github.com and the homepage will open. In the home page, you find a button to create a new repository at the left bar,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*Iem8LPzQ3zCi7URqjNCJKg.png" /><figcaption>Source from <a href="https://github.com/">GitHub</a></figcaption></figure><h4>Create a new repository:</h4><ol><li>As the below picture is self-explanatory</li><li>You can add the repository name and the description.</li><li>You can find two options public and private. <em>(refer below for details)</em></li><li>If you check the mark initialize this repository with a <strong>README</strong> file this initializes your repository with a README.md file which we discuss in the next section of this article.</li><li>You can select the <em>Add .gitignore</em> and <em>license</em> accordingly and create a repository. More about licensing will be discussed in further articles of this series.</li><li>After creating the repository, a <strong>README.md</strong> file will be generated in the repository and henceforth, your online repository is ready and it is the time to create an offline repository in your local system and connect It to the newly created repository in GitHub.</li><li>For that, you need to create a folder in your machine.</li><li>Open command-line interface and change directory to the folder which you newly created. <em>(You can open command line directly typing </em><strong><em>cmd</em></strong><em> in your address bar or in Mac go o Terminal and point to the folder you created in the last step)</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*ItDmPj8gj3lynVFnCtNb_A.png" /><figcaption>Source from <a href="https://www.github.com/">GitHub</a></figcaption></figure><ul><li><strong><em>Public </em></strong><em>— Anyone on the internet can see this repository. You choose who can commit or make changes</em></li><li><strong><em>Private</em></strong><em> — You choose who can see and commit to this repository.</em></li></ul><h3>Initializing Repository in your local system:</h3><ul><li>Now it is time for us to create an empty repository in our machine. So, to create an empty repository, we need to use git command in CLI (Command Line Interface)</li></ul><pre><strong>$ git init</strong></pre><ul><li>This will initialize the repository in your local system. In the hidden files if you see there is a folder created with the name .git and this is the folder where all the records will be stored. Your every code change is tracked in here. From this Git will understand where to connect and what to do and how to manage files.</li></ul><p><em>(Make sure Git is installed in your system before creating Offline/Local repository)</em></p><h3>Connecting Local Repository to GitHub:</h3><ul><li>To connect the repository in both local and online, we need to make use of git remote command. This will help us in setting up communication between them.</li><li>After executing git init, run the below command.</li></ul><pre><strong>$ git remote add origin &lt;URL of the repository&gt;</strong></pre><p><em>(This is the command where we are telling git to connect to the remote server where the repository is there and add it to the local with the name origin. In here origin is just a variable name of the source URL that we are going to connect.)</em></p><ul><li>To get the URL of the repository in GitHub, you need to go to the repository that you have created online and then you should click on code and copy the URL as shown below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*8mcAbp8t3fvGaBXcn4QHSQ.png" /></figure><ul><li>Once you execute the command, you are successfully connected to Git from your online and offline repository.</li></ul><p>So, now we are successful in creating Git repository and you connected to the online repository as well using <strong>git remote</strong> command.</p><p>In this part, we discussed what is Git and why it is used and also how to create a repository online and offline and connecting both.</p><p>In my next article, I will explain how to make changes in <strong>README.md</strong> file and how this is useful to document your software and the important steps. Also, we will discuss how to make code changes and push them to an online repository.</p><p><strong><em>Until then Goodbye, Keep Learning and Keep reading. Don’t forget to contact me if you have any queries, </em></strong><a href="/service/mailto:sushmita@thenexteam.com"><strong><em>sushmita@thenexteam.com</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=701fdf9cdb49" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-next-team/introduction-to-git-basics-part-one-701fdf9cdb49">Introduction to GIT Basics — Part One</a> was originally published in <a href="https://medium.com/the-next-team">The Technologist</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>