Version Control: A Beginner’s Guide to Git and GitHub
<p>Have you ever opened an app on your phone and received a prompt to update to a new version? These prompts most likely direct you towards an app store where you then download the latest version. As you download the new version, you might notice a new layout, button, or piece of functionality. In software and web development, developers use version control to track the differences between versions.</p>
<blockquote>
<p>In the world of creating software, it’s like building intricate puzzles with lines of code. But imagine if you could keep track of every piece you add or change, and work with others on the same puzzle without chaos.</p>
</blockquote>
<p>A popular method of tracking versions is the use of version control technologies, like Git and GitHub.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:630/0*BGxJD8qDnx__D2kZ.png" style="height:366px; width:700px" /></p>
<p>Centralized VCS vs Distributed VCS</p>
<p><strong>Centralized Version Control: One Big Hub</strong></p>
<p>In this type, there’s one big hub where all the code is stored. Imagine it like a central library. Tools like <em>Subversion</em> and <em>Perforce </em>work this way.</p>
<p><strong>Distributed Version Control: Everyone’s Got a Copy</strong></p>
<p>Now, picture a world where everyone has their own copy of the code, like having your own book. <em>Git</em> and <em>Mercurial </em>work this way. <em>Git, the star of our story, was created by Linus Torvalds to help manage a big project called Linux</em>.</p>
<p><strong>What is Git and GitHub?</strong></p>
<p>Imagine building a puzzle with pals. <em>Git’s</em> like magic, letting each friend tweak their piece without spoiling the whole puzzle. <em>GitHub’s</em> the meeting spot, a playground for showing your puzzle. Others copy, improve, and ask to add. It’s like sharing toys, making them cooler, and collaborating!</p>
<p><a href="https://medium.com/@harshitynwa/version-control-a-beginners-guide-to-git-and-github-b09301b348bb">Visit Now</a></p>