<p>After being told by at least 10 people on SO that version control was a good thing even if it's just me I now have a followup question.</p>

<p>What is the difference between all the different types of version control and is there a guide that anybody knows of for version control that's very simple and easy to understand?</p>

[{'answer_id': 3862, 'author': 'num1', 'author_id': 306, 'author_profile': 'https://Stackoverflow.com/users/306', 'pm_score': 3, 'selected': False, 'text': '<p>Version Control is essential to development, even if you\'re working by yourself because it protects you from yourself. If you make a mistake, it\'s a simple matter to rollback to a previous version of your code that you know works. This also frees you to explore and experiment with your code because you\'re free of having to worry about whether what you\'re doing is reversible or not. There are two major branches of Version Control Systems (VCS), Centralized and Distributed.</p>\n\n<p>Centralized VCS are based on using a central server, where everyone "checks out" a project, works on it, and "commits" their changes back to the server for anybody else to use. The major Centralized VCS are CVS and SVN. Both have been heavily criticized because "merging" "branches" is extremely painful with them. [TODO: write explanation on what branches are and why merging is hard with CVS &amp; SVN]</p>\n\n<p>Distributed VCS let everyone have their own server, where you can "pull" changes from other people and "push" changes to a server. The most common Distributed VCS are Git and Mercurial. [TODO: write more on Distributed VCS]</p>\n\n<p>If you\'re working on a project I heavily recommend using a distributed VCS. I recommend Git because it\'s blazingly fast, but is has been criticized as being too hard to use. If you don\'t mind using a commercial product BitKeeper is supposedly easy to use.</p>\n'}, {'answer_id': 3864, 'author': 'Yaakov Ellis', 'author_id': 51, 'author_profile': 'https://Stackoverflow.com/users/51', 'pm_score': 3, 'selected': False, 'text': '<p>I would start with:</p>\n\n<ul>\n<li><a href="http://betterexplained.com/articles/a-visual-guide-to-version-control/" rel="nofollow noreferrer">A Visual Guide to Version Control</a></li>\n<li><a href="http://en.wikipedia.org/wiki/Revision_control" rel="nofollow noreferrer">Wikipedia</a></li>\n</ul>\n\n<p>Then once you have read up on it, download and install <a href="http://subversion.tigris.org/" rel="nofollow noreferrer">SVN</a>, <a href="http://tortoisesvn.tigris.org/" rel="nofollow noreferrer">TortoiseSVN</a> and skim the first few chapters of the <a href="http://svnbook.red-bean.com/" rel="nofollow noreferrer">book</a> and get started.</p>\n'}, {'answer_id': 3865, 'author': 'Eric Haskins', 'author_id': 100, 'author_profile': 'https://Stackoverflow.com/users/100', 'pm_score': 5, 'selected': True, 'text': '<p>Eric Sink has a <a href="http://www.ericsink.com/scm/source_control.html" rel="nofollow noreferrer">good overview of source control</a>. There are also some <a href="https://stackoverflow.com/questions/871/why-is-git-better-than-subversion">existing</a> <a href="https://stackoverflow.com/questions/2658/version-control-getting-started">questions</a> here on SO.</p>\n'}, {'answer_id': 3869, 'author': 'Mark Harrison', 'author_id': 116, 'author_profile': 'https://Stackoverflow.com/users/116', 'pm_score': 4, 'selected': False, 'text': "<p>We seem to be in the golden age of version control, with a ton of choices, all of which have their pros and cons.</p>\n\n<p>Here are the ones I see most used:</p>\n\n<ul>\n<li>svn - currently the most popular open source?</li>\n<li>git - very hot since Linus switched to it</li>\n<li>mercurial - some smart people I know swear by it</li>\n<li>cvs - the one everybody is switching from</li>\n<li>perforce - imho, the best features, but it's not open source. The two-user license is free, though. </li>\n<li>visual sourcesafe - I'm not much in the Microsoft world, so I have no idea about this one, other than people like to rag on it as they rag on everything from Microsoft.</li>\n<li>sccs - for historical interest we mention this, the great-grandaddy of many of the above</li>\n<li>rcs - and the grandaddy of many of the above</li>\n</ul>\n\n<p>My recommendation: you're safest with either git, svn or perforce, since a lot of people use them, they are cross platform, have good guis, you can buy books about them, etc.</p>\n\n<p>Dont consider cvs, sccs, rcs, they are antique.</p>\n\n<p>The nice thing is that, since your projects will be relatively small, you will be able to move your code to a new system once you're more experienced and decide you want to work with another system.</p>\n"}, {'answer_id': 3873, 'author': 'Chris Miller', 'author_id': 206, 'author_profile': 'https://Stackoverflow.com/users/206', 'pm_score': 1, 'selected': False, 'text': '<p>If you are working by yourself in a Windows environment, then the <a href="http://www.sourcegear.com/faq.html" rel="nofollow noreferrer">single user license</a> for SourceGear\'s Vault is free.</p>\n'}, {'answer_id': 3885, 'author': 'Peter Coulton', 'author_id': 117, 'author_profile': 'https://Stackoverflow.com/users/117', 'pm_score': 2, 'selected': False, 'text': '<p>The <a href="https://stackoverflow.com/questions/2658/version-control-getting-started#2668">answer</a> to <a href="https://stackoverflow.com/questions/2658/version-control-getting-started">another question</a> also applies here, most importantly </p>\n\n<blockquote>\n  <p><a href="https://stackoverflow.com/users/413/jon-works">Jon Works</a> said:<br>\n  The most important thing about version control is:</p>\n  \n  <p><em>JUST START USING IT</em></p>\n</blockquote>\n\n<p>His answer goes into more detail, and I don\'t want to be accused of plaigerism so take a look.</p>\n'}, {'answer_id': 3895, 'author': 'Jonathan Works', 'author_id': 309844, 'author_profile': 'https://Stackoverflow.com/users/309844', 'pm_score': 3, 'selected': False, 'text': '<p>To everyone just starting using version control:</p>\n\n<p><strong>Please do not use git (or hg or bzr) because of the hype</strong></p>\n\n<p>Use git (or hg or bzr) because they are <strong>better tools</strong> for managing source code than SVN.</p>\n\n<p>I used SVN for a few years at work, and switched over to git 6 months ago. Without learning SVN first I would be totaly lost when it comes to using a DVCS.</p>\n\n<p>For people just starting out with version control:</p>\n\n<ul>\n<li>Start by downloading SVN</li>\n<li>Learn <em>why</em> you need version control</li>\n<li>Learn how to commit, checkout, branch</li>\n<li>Learn why merging in SVN is such a pain</li>\n</ul>\n\n<p>Then switch over to a DVCS and learn:</p>\n\n<ul>\n<li>How to clone/branch/commit</li>\n<li>How easy it is to merge your branches back (go branch crazy!)</li>\n<li>How easy it is to rewrite commit history and keep your branches<br/>up to date with the main line (<a href="http://git-scm.com/docs/git-rebase" rel="noreferrer">git rebase -i</a>, )</li>\n<li>How to publish your changes so others can benefit</li>\n</ul>\n\n<hr>\n\n<p>tldr; crowd:</p>\n\n<p>Start with SVN and learn the basics, then graduate to a DVCS.</p>\n'}, {'answer_id': 3916, 'author': 'pc1oad1etter', 'author_id': 525, 'author_profile': 'https://Stackoverflow.com/users/525', 'pm_score': 1, 'selected': False, 'text': '<p>We use and like <a href="http://www.selenic.com/mercurial/wiki/" rel="nofollow noreferrer">Mercurial</a>.  It follows a distributed model - it eliminates some of the sense of having to &quot;check in&quot; work.  Mozilla has <a href="https://web.archive.org/web/20150604064655/https://developer.mozilla.org/en-US/docs/Mercurial" rel="nofollow noreferrer">moved to Mercurial</a>, which is a good sign that it\'s not going to go away any time soon.  One con, in my opinion, is that there isn\'t a very good GUI for it.  If you\'re comfortable with the command line, though, it\'s pretty handy.</p>\n<p><a href="http://www.selenic.com/mercurial/wiki/" rel="nofollow noreferrer">Mercurial Documentation</a>\n<a href="http://hgbook.red-bean.com/hgbook.html" rel="nofollow noreferrer">Unofficial Manual</a></p>\n'}, {'answer_id': 4119, 'author': 'Nidonocu', 'author_id': 483, 'author_profile': 'https://Stackoverflow.com/users/483', 'pm_score': 2, 'selected': False, 'text': '<p>The simple answer is, do you like Undo buttons? The answer is of course yes, because we as human being make mistakes all the time.</p>\n\n<p>As programmers, its often the case though that it can take several hours of testing, code changes, overwrites, deletions, file moves and renames before we work out the method we are trying to use to fix a problem is entirely the wrong one and the code is more broken than when we started.</p>\n\n<p>As such, Source Control is a massive Undo button to revert the code to an earlier time when the grass was green and the food plentiful. And not only that, because of how source control works, you can still keep a copy of your broken code, in case a few weeks down the line you want to refer to it again and cherry pick any good ideas that did come out of it.</p>\n\n<p>I personally (though it could be called overkill) use a free Single user license version of Source Gear Fortress (which is their Vault source control product with bug tracking features). I find the UI really simple to use, it supports both the checkout > edit > checkin model and the edit > merge > commit model. It can be a little tricky to set up though, requiring you to run a local copy of ISS and SQL server. You might want to try a smaller program, like those recommended by other answers here. See what you like and what you can afford.</p>\n'}, {'answer_id': 4124, 'author': 'Lily Ballard', 'author_id': 582, 'author_profile': 'https://Stackoverflow.com/users/582', 'pm_score': 2, 'selected': False, 'text': "<p>Mark said:</p>\n\n<blockquote>\n  <p>git - very hot since Linus switched to it</p>\n</blockquote>\n\n<p>I just want to point out that Linus didn't switch to it, Linus <em>wrote</em> it.</p>\n"}, {'answer_id': 13474, 'author': 'Espen Herseth Halvorsen', 'author_id': 1542, 'author_profile': 'https://Stackoverflow.com/users/1542', 'pm_score': 0, 'selected': False, 'text': "<p>Just start using source control, no matter what type you use. What you use doesn't matter; it's the use of it that is important</p>\n"}, {'answer_id': 178235, 'author': 'Milner', 'author_id': 16575, 'author_profile': 'https://Stackoverflow.com/users/16575', 'pm_score': 0, 'selected': False, 'text': "<p>Like everyone else, SC is really dependant on your needs, your budget, your environment, etc.</p>\n\n<p>At its root, source control is designed to provide a central repository of all your code, and track who did what to it when.  There should be a complete history, and you can get products that do full changelogs, auditing, access control, and on and on...</p>\n\n<p>Each product that is out there starts to shine (so to speak) when you start to look at how you want or need to incorporate SC into your environment (whether it's your personal code and documents or a large corporations).  And as people use them, they discover that the tool has limitations, so people write new ones.  SVN was born out of limitations that the creators saw with CVS.  Linus wanted something better for the Linux kernel, so now we have <strong>git</strong>.</p>\n\n<p>I would say start using one (something like SVN which is very popular and pretty easy to use) and see how it goes.  As time progresses you may find that you need some other functionality, or need to interface with other systems, so you may need SourceSafe or another tool.</p>\n\n<p>Source control is always important, and while you can get away with manually re-numbering versions of PSD files or something as you work on them, you're going to forget to run that batch script once or twice, or likely forget which number went with which change.  That's where most of these SC tools can help (as long as you check-in/check-out).</p>\n"}, {'answer_id': 931746, 'author': 'Jakub Narębski', 'author_id': 46058, 'author_profile': 'https://Stackoverflow.com/users/46058', 'pm_score': 0, 'selected': False, 'text': '<p>See also this SO question:</p>\n\n<ul>\n<li><a href="https://stackoverflow.com/questions/802573/difference-between-git-and-cvs">Difference between GIT and CVS</a></li>\n</ul>\n'}]
['https://Stackoverflow.com/questions/3859', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1384652/']