<?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"><channel><title><![CDATA[Beginners Guide for Git]]></title><description><![CDATA[Beginners Guide for Git]]></description><link>https://beginners-guide-for-git.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 12:00:12 GMT</lastBuildDate><atom:link href="https://beginners-guide-for-git.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Git for Beginners]]></title><description><![CDATA[Before starting with Git, lets understand what version control system(VCS) means, how it helps to accelerate the development work.
what is VCS?
A system that records the changes to files over time, allowing user to revert to a specific previous versi...]]></description><link>https://beginners-guide-for-git.hashnode.dev/git-for-beginners</link><guid isPermaLink="true">https://beginners-guide-for-git.hashnode.dev/git-for-beginners</guid><category><![CDATA[Git]]></category><category><![CDATA[GitHub]]></category><dc:creator><![CDATA[Shrikant Landage]]></dc:creator><pubDate>Sat, 31 Jan 2026 12:40:19 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-before-starting-with-git-lets-understand-what-version-control-systemvcs-means-how-it-helps-to-accelerate-the-development-work">Before starting with Git, lets understand what version control system(VCS) means, how it helps to accelerate the development work.</h2>
<h2 id="heading-what-is-vcs">what is VCS?</h2>
<p>A system that records the changes to files over time, allowing user to revert to a specific previous versions or review the project history.</p>
<p>Distributed Architecture in VCS: Unlike older, centralized system every developer has local copy of entire project history, this allow developers to work offline independently.</p>
<h2 id="heading-what-is-git">What is git?</h2>
<p>Git is free, open source distributed version control system used to track changes in computer files(most commonly source code file in software development). It allows multiple people to collaborate on a project efficiently without overwrutting each other work.</p>
<h2 id="heading-what-is-difference-between-git-and-github">What is difference between Git and Github?</h2>
<p>Git → locally installed open source version control system.</p>
<p>Github → is web based platform that hosts git repositories and provide collaborate features.</p>
<h3 id="heading-commonly-usedcore-git-terminologies">Commonly used/core git terminologies.</h3>
<ol>
<li><p>Git Repository</p>
<p> It is directory that contains git and working directory that contains all files tracked by git and git repository is placed where all files are stored.</p>
</li>
<li><p>Git Working Reoistory</p>
<p> It is directory that contains all the files that are tracked by git.</p>
</li>
<li><p>Branch</p>
<p> Branch can be thought as an copy of main/working direectory, whenever developer start working on any project, it creates branch)i.e copy of code) and work independently and in isolated enviroment.</p>
</li>
<li><p>Checkout</p>
<p> This is the process/command to switch between branches generallywhen developers are working on multiple features, they create seperate branch for developmen of each feature, when they need to change/switch branch checkout command is used.</p>
</li>
<li><p>Merge</p>
<p> It is the process that involves merging of code from one branch to another branch.</p>
</li>
<li><p>Pull</p>
<p> It is the process to pull the changes from remote branch)from github/web/cloud) to local branch</p>
</li>
<li><p>Push</p>
<p> It is the process to push all/comitted changes from local branch to remote branch.</p>
</li>
</ol>
<p>Basic Hit Commands</p>
<ol>
<li><p>Creating new repository</p>
<p> git init projName</p>
</li>
<li><p>Clone (Copy)an existing Repo</p>
<p> git clone RepoName</p>
</li>
<li><p>Prepare file to commit</p>
<p> Add untrack file/umstaged changes to stage</p>
<p> git add filename</p>
<p> Choose which parts of file to stage</p>
<p> git add -p</p>
<p> Delete file</p>
<p> git rm filename</p>
</li>
<li><p>Commit</p>
<p> git commit -m “commit message”</p>
</li>
<li><p>Move between branch</p>
<p> (moving/switch to particular branch from current branch)</p>
<p> git checkout branchName</p>
</li>
<li><p>git list of branches</p>
<p> git branch</p>
</li>
<li><p>Delete Branch</p>
<p> git branch -d branchName</p>
</li>
<li><p>Discard the changes</p>
</li>
<li><p>git restore fileName</p>
</li>
</ol>
]]></content:encoded></item></channel></rss>