<?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 Abinayapalani on Medium]]></title>
        <description><![CDATA[Stories by Abinayapalani on Medium]]></description>
        <link>https://medium.com/@abinayanaveen6911?source=rss-a9dc5dde8c21------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*t-9DanMIR-Zu23L5</url>
            <title>Stories by Abinayapalani on Medium</title>
            <link>https://medium.com/@abinayanaveen6911?source=rss-a9dc5dde8c21------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:18:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abinayanaveen6911/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[Github For Beginners]]></title>
            <link>https://medium.com/@abinayanaveen6911/github-for-beginners-a313f15f8dc4?source=rss-a9dc5dde8c21------2</link>
            <guid isPermaLink="false">https://medium.com/p/a313f15f8dc4</guid>
            <dc:creator><![CDATA[Abinayapalani]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 17:23:10 GMT</pubDate>
            <atom:updated>2025-01-24T17:23:10.610Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>In software development, version control is the secret ingredient that makes collaboration smooth and keeps code organized. Enter Git — an incredibly powerful Version Control System (VCS) that helps you track changes, work with others seamlessly, and keep your projects in check. Whether you’re just starting with Git or need a quick refresher, this tutorial will guide you through the essential Git commands you’ll use every day.</p><p>We’ll walk through everything from creating a new repository with git init, to pushing and pulling your changes with git push and git pull. You’ll also learn how to clone repositories, commit changes, and stage or unstage files—plus a quick dive into merging branches. Think of this as your hands-on introduction to Git, whether you&#39;re using the command prompt or terminal, and the perfect first step in mastering Git for collaboration.</p><p>Ready to level up your Git skills? Let’s dive right in!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2ULjH9q9G6Fj4Mbl.png" /></figure><h3><strong>What is Git?</strong></h3><p>Git is a tool that helps developers collaborate on projects by tracking code changes and preventing conflicts. It allows them to work on separate branches for different tasks and later merge those changes. Think of it as a smart way to manage different versions of a project. Platforms like GitHub make sharing and collaborating with Git even easier.</p><h3><strong>What is Github what it does?</strong></h3><p>GitHub is a platform that hosts Git repositories, making it easier for developers to collaborate on projects. It allows users to store their code online, track changes, and work on different versions of a project using Git. GitHub also provides tools for team collaboration, like issues, pull requests, and code reviews, making it a go-to platform for open-source and private projects alike. Simply put, it’s a central place for sharing code and working together with others, no matter where they are.</p><ul><li><strong>Code Hosting &amp; Collaboration</strong><br>GitHub allows developers to store their code in repositories (repos) and work together on projects. With the ability to create separate “branches” for new features or bug fixes, multiple developers can work on the same project without stepping on each other’s toes. When their work is ready, they can easily merge it back into the main code (usually called the “main” or “master” branch), keeping everything organized and making collaboration much smoother.</li><li><strong>Version Control</strong><br>GitHub uses Git to track all changes made to a project’s code. This means developers can go back to previous versions if something breaks, compare different versions of the code, and keep a complete history of how the project has evolved over time.</li><li><strong>Pull Requests &amp; Code Reviews</strong><br>One of GitHub’s most useful features is the <strong>pull request</strong>. When a developer is ready to merge their changes into the main project, they create a pull request. This allows other team members to review the changes, ask questions, and suggest improvements before the changes are officially merged, ensuring the code stays clean and free from bugs.</li><li><strong>Project Management &amp; Automation</strong><br>GitHub isn’t just for code — it also helps manage the entire development process. <strong>Issues</strong> can be used to track bugs, tasks, and features, while <strong>Projects</strong> help organize everything in a visual way. On top of that, <strong>GitHub Actions</strong> allows developers to automate workflows, like running tests or deploying new code, whenever changes are made.</li><li><strong>Community &amp; Open Source</strong><br>GitHub hosts a huge community of developers, making it a go-to platform for open-source projects. Developers can fork (copy) repositories, make their own changes, and submit <strong>pull requests</strong> to contribute to the project, helping it grow and improve.</li><li><strong>Integration &amp; GitHub Pages</strong><br>GitHub integrates with other tools like IDEs (Integrated Development Environments) and project management platforms such as Jira, making it easier to work in teams. GitHub also offers <strong>GitHub Pages</strong>, which lets you host static websites directly from a repository, perfect for creating personal blogs, portfolios, or project documentation</li></ul><h3><strong>Installation Process</strong></h3><p><strong>Step 1 :</strong> Search in any of your favorite browsers (Chrome, Edge, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUwzjj_CBn_EmynpJyDbZQ.png" /></figure><p><strong>Step 2 :</strong> Select the correct version (32-bit or 64-bit) that matches your Windows architecture and click on the download link to download the Git installer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HV55Bjd1Gbxi6hx65dvIjw.png" /></figure><p><strong>Step 3 :</strong> Installing GitOnce the download is complete, run the installer (Git-2.x.x.exe) and follow the prompts.Choose the installation location and select the components you want to install.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jHILFBepfKBIf92WThwxag.png" /></figure><p>Choose the editor you want to use with Git (e.g., Notepad++, Visual Studio Code).Choose the SSH client you want to use (e.g., OpenSSH, PuTTY).Click “Next” to continue the installation process.</p><p><strong>Step 4 :</strong> Configuring Git</p><p>Once the installation is complete, open the Git Bash terminal.Set your username and email address using the following commands:</p><p>git config — global user.name “Your Name”<br>git config — global user.email “<a href="/service/mailto:your_email@example.com">your_email@example.com</a>”</p><p><strong>Step 5 :</strong> Verify your Git installation by typing git — version.</p><h4><strong>Commands</strong></h4><p><strong>1. “git init “— Initialize a New Git Repository</strong><br>This command creates a new Git repository in your current directory.</p><p><strong>Steps:</strong><br> Open VSCode.<br> Open the integrated terminal (Ctrl + ~ or Cmd + ~ on Mac).<br>Run the command : git init</p><p>&gt;&gt;Expected Output in VSCode Terminal : Initialized empty Git repository in /path/to/your/project/.git/</p><p><strong>2. “git clone” — Clone a Repository</strong><br>Clones a repository from GitHub or any other remote location.</p><p><strong>Steps:</strong></p><p>Open the terminal in VSCode.<br>Run the clone command: git clone <a href="https://github.com/username/repository.git">https://github.com/username/repository.git</a></p><p>&gt;&gt;Expected Output in VSCode Terminal : Cloning into ‘repository’…<br>remote: Enumerating objects: 100, done.<br>remote: Counting objects: 100% (100/100), done.<br>remote: Compressing objects: 100% (60/60), done.<br>Unpacking objects: 100% (100/100), done.</p><p><strong>3. “git add “— Stage Changes</strong><br>Stages modified or new files to be committed.</p><p><strong>Steps:</strong></p><p>After modifying or creating a file, run : git add .</p><p>&gt;&gt;Expected Output in VSCode Terminal : Changes to be committed:<br> (use “git reset HEAD &lt;file&gt;…” to unstage)<br> modified: file1.txt</p><p><strong>4. “git commit” — Commit Changes</strong><br> Commits the staged changes to the local repository.</p><p><strong>Steps:</strong></p><p>After staging, run the commit command : git commit -m</p><p>&gt;&gt;Expected Output in VSCode Terminal : [main 3a4e5d6] Updated file1 with new content 1 file changed, 1 insertion(+)</p><p><strong>5. “git pull” — Pull Changes from Remote Repository</strong><br>Fetches and merges changes from the remote repository into your local branch.</p><p><strong>Steps:</strong></p><p>Run the pull command to get updates from the remote repository : git pull origin main</p><p>&gt;&gt;Expected Output in VSCode Terminal:remote: Enumerating objects: 3, done.remote: Counting objects: 100% (3/3), done.remote: Compressing objects: 100% (3/3), done.Unpacking objects: 100% (3/3), done.<br>From <a href="https://github.com/username/repository">https://github.com/username/repository</a> * branch main -&gt; FETCH_HEAD</p><p><strong>6. “git push — Push” Changes to Remote Repository</strong><br>Pushes committed changes from your local machine to a remote repository.</p><p><strong>Steps:</strong></p><p>Run the push command : git push origin main</p><p>&gt;&gt;Expected Output in VSCode Terminal : Counting objects: 5, done.<br>Writing objects: 100% (5/5), 1.25 KiB | 1.25 MiB/s, done.Total 5 (delta 0), reused 0 (delta 0)To <a href="https://github.com/username/repository">https://github.com/username/repository</a><br> 3a4e5d6..b7c8d9e main -&gt; main</p><p><strong>7. “git merge” — Merge Changes from Another Branch</strong><br>Merges changes from one branch into another.</p><p><strong>Steps:</strong></p><p>Switch to the branch where you want to merge : git checkout main<br>Run the merge command:git merge feature-branch</p><p>&gt;&gt;Expected Output in VSCode Terminal:Updating 3a4e5d6..b7c8d9eFastforwardfile1.txt | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)</p><p><strong>8. “git reset “— Unstage Changes</strong><br>This command unstages changes that were added with git add.</p><p><strong>Steps:</strong></p><p>If you want to unstage a file, run : git reset file1.txt</p><p>&gt;&gt;Expected Output in VSCode Terminal:Unstaged changes after reset:<br>M file1.txt</p><p>To unstage all files, run : git reset</p><h3>Conclusion</h3><p>In conclusion, <strong>Git</strong> is a tool that helps you keep track of changes in your code, making it easier to manage and update your project over time. <strong>GitHub</strong> is a website that lets you store and share your Git repositories with others, so you can work together on projects.</p><p>Git works on your computer to keep track of changes, while GitHub stores those changes online, so you can collaborate with other developers. Installing Git is simple, and once you get the hang of key commands like git init, git add, git commit, and git push, you&#39;ll be able to manage your code more effectively and work well with others.</p><p>Learning these basics of Git and GitHub will help you get started with version control and collaborative coding, making these tools essential for beginners in the coding world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a313f15f8dc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>