<p>I've been using <a href="http://en.wikipedia.org/wiki/Apache_Subversion" rel="nofollow noreferrer">Subversion</a> for a few years and after using <a href="http://en.wikipedia.org/wiki/Microsoft_Visual_SourceSafe" rel="nofollow noreferrer">SourceSafe</a>, I just love Subversion.  Combined with <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="nofollow noreferrer">TortoiseSVN</a>, I can't really imagine how it could be any better.  </p>

<p>Yet there's a growing number of developers claiming that Subversion has problems and that we should be moving to the new breed of distributed version control systems, such as <a href="http://git.or.cz/" rel="nofollow noreferrer" title="Git Distributed Version Control System">Git</a>.  </p>

<p>How does Git improve upon Subversion?</p>

[{'answer_id': 873, 'author': 'ESV', 'author_id': 150, 'author_profile': 'https://Stackoverflow.com/users/150', 'pm_score': 6, 'selected': False, 'text': '<p>Google Tech Talk: Linus Torvalds on git</p>\n\n<p><a href="http://www.youtube.com/watch?v=4XpnKHJAok8" rel="nofollow noreferrer">http://www.youtube.com/watch?v=4XpnKHJAok8</a></p>\n\n<p>The Git Wiki\'s comparison page</p>\n\n<p><a href="http://git.or.cz/gitwiki/GitSvnComparsion" rel="nofollow noreferrer">http://git.or.cz/gitwiki/GitSvnComparsion</a></p>\n'}, {'answer_id': 875, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 10, 'selected': True, 'text': '<p>Git is not better than Subversion. But is also not worse. It\'s different.</p>\n\n<p>The key difference is that it is decentralized. Imagine you are a developer on the road, you develop on your laptop and you want to have source control so that you can go back 3 hours.</p>\n\n<p>With Subversion, you have a Problem: The SVN Repository may be in a location you can\'t reach (in your company, and you don\'t have internet at the moment), you cannot commit. If you want to make a copy of your code, you have to literally copy/paste it.</p>\n\n<p>With Git, you do not have this problem. Your local copy is a repository, and you can commit to it and get all benefits of source control. When you regain connectivity to the main repository, you can commit against it.</p>\n\n<p>This looks good at first, but just keep in mind the added complexity to this approach.</p>\n\n<p>Git seems to be the "new, shiny, cool" thing. It\'s by no means bad (there is a reason Linus wrote it for the Linux Kernel development after all), but I feel that many people jump on the "Distributed Source Control" train just because it\'s new and is written by Linus Torvalds, without actually knowing why/if it\'s better.</p>\n\n<p>Subversion has Problems, but so does Git, Mercurial, CVS, TFS or whatever.</p>\n\n<p><strong>Edit:</strong> So this answer is now a year old and still generates many upvotes, so I thought I\'ll add some more explanations. In the last year since writing this, Git has gained a lot of momentum and support, particularly since sites like GitHub really took off. I\'m using both Git and Subversion nowadays and I\'d like to share some personal insight.</p>\n\n<p>First of all, Git can be really confusing at first when working decentralized. What is a remote? and How to properly set up the initial repository? are two questions that come up at the beginning, especially compared to SVN\'s simple "svnadmin create", Git\'s "git init" can take the parameters --bare and --shared which seems to be the "proper" way to set up a centralized repository. There are reasons for this, but it adds complexity. The documentation of the "checkout" command is very confusing to people changing over - the "proper" way seems to be "git clone", while "git checkout" seems to switch branches.</p>\n\n<p>Git REALLY shines when you are decentralized. I have a server at home and a Laptop on the road, and SVN simply doesn\'t work well here. With SVN, I can\'t have local source control if I\'m not connected to the repository (Yes, I know about SVK or about ways to copy the repo). With Git, that\'s the default mode anyway. It\'s an extra command though (git commit commits locally, whereas git push origin master pushes the master branch to the remote named "origin").</p>\n\n<p>As said above: Git adds complexity. Two modes of creating repositories, checkout vs. clone, commit vs. push... You have to know which commands work locally and which work with "the server" (I\'m assuming most people still like a central "master-repository").</p>\n\n<p>Also, the tooling is still insufficient, at least on Windows. Yes, there is a Visual Studio AddIn, but I still use git bash with msysgit.</p>\n\n<p>SVN has the advantage that it\'s MUCH simpler to learn: There is your repository, all changes to towards it, if you know how to create, commit and checkout and you\'re ready to go and can pickup stuff like branching, update etc. later on.</p>\n\n<p>Git has the advantage that it\'s MUCH better suited if some developers are not always connected to the master repository. Also, it\'s much faster than SVN. And from what I hear, branching and merging support is a lot better (which is to be expected, as these are the core reasons it was written).</p>\n\n<p>This also explains why it gains so much buzz on the Internet, as Git is perfectly suited for Open Source projects: Just Fork it, commit your changes to your own Fork, and then ask the original project maintainer to pull your changes. With Git, this just works. Really, try it on Github, it\'s magic.</p>\n\n<p>What I also see are Git-SVN Bridges: The central repository is a Subversion repo, but developers locally work with Git and the bridge then pushes their changes to SVN.</p>\n\n<p>But even with this lengthy addition, I still stand by my core message: Git is not better or worse, it\'s just different. If you have the need for "Offline Source Control" and the willingness to spend some extra time learning it, it\'s fantastic. But if you have a strictly centralized Source Control and/or are struggling to introduce Source Control in the first place because your co-workers are not interested, then the simplicity and excellent tooling (at least on Windows) of SVN shine.</p>\n'}, {'answer_id': 876, 'author': 'Karl Seguin', 'author_id': 34, 'author_profile': 'https://Stackoverflow.com/users/34', 'pm_score': 5, 'selected': False, 'text': "<p>Well, it's distributed. Benchmarks indicate that it's considerably faster (given its distributed nature, operations like diffs and logs are all local so of course it's blazingly faster in this case), and working folders are smaller (which still blows my mind).</p>\n\n<p>When you're working on subversion, or any other client/server revision control system, you essentially create working copies on your machine by <em>checking-out</em> revisions. This represents a snapshot in time of what the repository looks like. You update your working copy via updates, and you update the repository via commits.</p>\n\n<p>With a distributed version control, you don't have a snapshot, but rather the entire codebase. Wanna do a diff with a 3 month old version? No problem, the 3 month old version is still on your computer. This doesn't only mean things are way faster, but if you're disconnected from your central server, you can still do many of the operations you're used to. In other words, you don't just have a snapshot of a given revision, but the entire codebase.</p>\n\n<p>You'd think that Git would take up a bunch of space on your harddrive, but from a couple benchmarks I've seen, it actually takes less. Don't ask me how. I mean, it was built by Linus, he knows a thing or two about filesystems I guess.</p>\n"}, {'answer_id': 886, 'author': 'jaredg', 'author_id': 153, 'author_profile': 'https://Stackoverflow.com/users/153', 'pm_score': 3, 'selected': False, 'text': "<p>Git and DVCS in general is great for developers doing a lot of coding independently of each other because everyone has their own branch.  If you need a change from someone else, though, she has to commit to her local repo and then she must push that changeset to you or you must pull it from her.</p>\n\n<p>My own reasoning also makes me think DVCS makes things harder for QA and release management if you do things like centralized releases.  Someone has to be responsible for doing that push/pull from everyone else's repository, resolving any conflicts that would have been resolved at initial commit time before, then doing the build, and then having all the other developers re-sync their repos.</p>\n\n<p>All of this can be addressed with human processes, of course; DVCS just broke something that was fixed by centralized version control in order to provide some new conveniences.</p>\n"}, {'answer_id': 893, 'author': 'Orion Edwards', 'author_id': 234, 'author_profile': 'https://Stackoverflow.com/users/234', 'pm_score': 3, 'selected': False, 'text': "<p>It's all about the ease of use/steps required to do something.</p>\n\n<p>If I'm developing a single project on my PC/laptop, git is better, because it is far easier to set up and use. \nYou don't need a server, and you don't need to keep typing repository URL's in when you do merges.</p>\n\n<p>If it were just 2 people, I'd say git is also easier, because you can just push and pull from eachother.</p>\n\n<p>Once you get beyond that though, I'd go for subversion, because at that point you need to set up a 'dedicated' server or location. </p>\n\n<p>You can do this just as well with git as with SVN, but the benefits of git get outweighed by the need to do additional steps to synch with a central server. In SVN you just commit. In git you have to git commit, then git push. The additional step gets annoying simply because you end up doing it so much.</p>\n\n<p>SVN also has the benefit of better GUI tools, however the git ecosystem seems to be catching up quickly, so I wouldn't worry about this in the long term.</p>\n"}, {'answer_id': 910, 'author': 'Michiel de Mare', 'author_id': 136, 'author_profile': 'https://Stackoverflow.com/users/136', 'pm_score': 7, 'selected': False, 'text': '<p>With Git, you can do practically anything offline, because everybody has their own repository.</p>\n\n<p>Making branches and merging between branches is really easy.</p>\n\n<p>Even if you don\'t have commit rights for a project, you can still have your own repository online, and publish "push requests" for your patches. Everybody who likes your patches can pull them into their project, including the official maintainers.</p>\n\n<p>It\'s trivial to fork a project, modify it, and still keep merging in the bugfixes from the HEAD branch. </p>\n\n<p>Git works for the Linux kernel developers. That means it is really fast (it has to be), and scales to thousands of contributors. Git also uses less space (up to 30 times less space for the Mozilla repository).</p>\n\n<p>Git is very flexible, very TIMTOWTDI (There is more than one way to do it). You can use whatever workflow you want, and Git will support it.</p>\n\n<p>Finally, there\'s <a href="http://en.wikipedia.org/wiki/GitHub" rel="nofollow noreferrer">GitHub</a>, a great site for hosting your Git repositories.</p>\n\n<p>Drawbacks of Git: </p>\n\n<ul>\n<li>it\'s much harder to learn, because Git has more concepts and more commands.</li>\n<li>revisions don\'t have version numbers like in subversion</li>\n<li>many Git commands are cryptic, and error messages are very user-unfriendly</li>\n<li>it lacks a good GUI (such as the great <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="nofollow noreferrer">TortoiseSVN</a>)</li>\n</ul>\n'}, {'answer_id': 6582, 'author': 'ejunker', 'author_id': 796, 'author_profile': 'https://Stackoverflow.com/users/796', 'pm_score': 3, 'selected': False, 'text': '<p>Git also makes branching and merging really easy. Subversion 1.5 just added merge tracking, but Git is still better. With Git branching is very fast and cheap. It makes creating a branch for each new feature more feasible. Oh and Git repositories are very efficient with storage space as compared to Subversion.</p>\n'}, {'answer_id': 22652, 'author': 'Pat Notz', 'author_id': 825, 'author_profile': 'https://Stackoverflow.com/users/825', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www.gnome.org/~newren/eg/" rel="nofollow noreferrer">Easy Git</a> has a nice page comparing actual usage of <a href="http://www.gnome.org/~newren/eg/git-for-svn-users.html" rel="nofollow noreferrer">Git and SVN</a> which will give you an idea of what things Git can do (or do more easily) compared to SVN.  (Technically, this is based on Easy Git, which is a lightweight wrapper on top of Git.)</p>\n'}, {'answer_id': 22658, 'author': 'swilliams', 'author_id': 736, 'author_profile': 'https://Stackoverflow.com/users/736', 'pm_score': 3, 'selected': False, 'text': "<p>One of the things about SubVersion that irks me is that it puts its own folder in each directory of a project, whereas git only puts one in the root directory. It's not <em>that</em> big of a deal, but little things like that add up.</p>\n\n<p>Of course, SubVersion has Tortoise, which is [usually] very nice.</p>\n"}, {'answer_id': 35911, 'author': 'dbr', 'author_id': 745, 'author_profile': 'https://Stackoverflow.com/users/745', 'pm_score': 2, 'selected': False, 'text': "<p>Thanks to the fact it doesn't need to communicate with a central server constantly, pretty much every command runs in less than a second (obviously git push/pull/fetch are slower simply because they have to initalise SSH connections). Branching is far far easier (one simple command to branch, one simple command to merge)</p>\n"}, {'answer_id': 43491, 'author': 'Emmanuel Caradec', 'author_id': 4508, 'author_profile': 'https://Stackoverflow.com/users/4508', 'pm_score': 5, 'selected': False, 'text': "<p>The main points I like about DVCS are those :</p>\n\n<ol>\n<li>You can commit broken things. It doesn't matter because other peoples won't see them until you publish. Publish time is different of commit time.</li>\n<li>Because of this you can commit more often.</li>\n<li>You can merge complete functionnality. This functionnality will have its own branch. All commits of this branch will be related to this functionnality. You can do it with a CVCS however with DVCS its the default.</li>\n<li>You can search your history (find when a function changed )</li>\n<li>You can undo a pull if someone screw up the main repository, you don't need to fix the errors. Just clear the merge.</li>\n<li>When you need a source control in any directory do : git init . and you can commit, undoing changes, etc...</li>\n<li>It's fast (even on Windows )</li>\n</ol>\n\n<p>The main reason for a relatively big project is the improved communication created by the point 3. Others are nice bonuses.</p>\n"}, {'answer_id': 95553, 'author': 'neu242', 'author_id': 13365, 'author_profile': 'https://Stackoverflow.com/users/13365', 'pm_score': 3, 'selected': False, 'text': '<p>Subversion is still a much more used version control system, which means that it has better tool support.  You\'ll find mature SVN plugins for almost any <a href="http://en.wikipedia.org/wiki/Integrated_development_environment" rel="nofollow noreferrer">IDE</a>, and there are good explorer extensions available (like TurtoiseSVN).  Other than that, I\'ll have to agree with <a href="https://stackoverflow.com/questions/871?sort=votes#875">Michael</a>:  Git isn\'t better or worse than Subversion, it\'s different.</p>\n'}, {'answer_id': 137069, 'author': 'andy', 'author_id': 21482, 'author_profile': 'https://Stackoverflow.com/users/21482', 'pm_score': 7, 'selected': False, 'text': '<p>Other answers have done a good job of explaining the core features of Git (which are great). But there\'s also so many <em>little</em> ways that Git behaves better and helps keep my life more sane. Here are some of the little things:</p>\n\n<ol>\n<li>Git has a \'clean\' command. SVN desperately needs this command, considering how frequently it will dump extra files on your disk.</li>\n<li>Git has the \'bisect\' command. It\'s nice.</li>\n<li>SVN creates .svn directories in every single folder (Git only creates <em>one</em> .git directory). Every script you write, and every grep you do, will need to be written to ignore these .svn directories. You also need an entire command ("svn export") just to get a sane copy of your files.</li>\n<li>In SVN, each file &amp; folder can come from a different revision or branch. At first, it sounds nice to have this freedom. But what this actually means is that there is a million different ways for your local checkout to be completely screwed up. (for example, if "svn switch" fails halfway through, or if you enter a command wrong). And the worst part is: if you ever get into a situation where some of your files are coming from one place, and some of them from another, the "svn status" will tell you that everything is normal. You\'ll need to do "svn info" on each file/directory to discover how weird things are. If "git status" tells you that things are normal, then you can trust that things really are normal.</li>\n<li>You have to tell SVN whenever you move or delete something. Git will just figure it out.</li>\n<li>Ignore semantics are easier in Git. If you ignore a pattern (such as *.pyc), it will be ignored for <em>all</em> subdirectories. (But if you really want to ignore something for just one directory, you can). With SVN, it seems that there is no easy way to ignore a pattern across all subdirectories.</li>\n<li>Another item involving ignore files. Git makes it possible to have "private" ignore settings (using the file .git/info/exclude), which won\'t affect anyone else.</li>\n</ol>\n'}, {'answer_id': 162148, 'author': 'Andre Bossard', 'author_id': 21027, 'author_profile': 'https://Stackoverflow.com/users/21027', 'pm_score': 4, 'selected': False, 'text': '<p>The funny thing is:\nI host projects in Subversion Repos, but access them via the Git Clone command.</p>\n\n<p>Please read <a href="http://google-opensource.blogspot.com/2008/05/develop-with-git-on-google-code-project.html" rel="nofollow noreferrer">Develop with Git on a Google Code Project</a></p>\n\n<blockquote>\n  <p>Although Google Code natively speaks\n  Subversion, you can easily use Git\n  during development. Searching for "git\n  svn" suggests this practice is\n  widespread, and we too encourage you\n  to experiment with it.</p>\n</blockquote>\n\n<p>Using Git on a Svn Repository gives me benefits:</p>\n\n<ol>\n<li>I can work <em>distributed</em> on several\nmachines, commiting and pulling from\nand to them</li>\n<li>I have a <em>central</em> <code>backup/public</code> svn repository for others to check out</li>\n<li>And they are free to use Git for their own</li>\n</ol>\n'}, {'answer_id': 172269, 'author': 'Mozammel', 'author_id': 20165, 'author_profile': 'https://Stackoverflow.com/users/20165', 'pm_score': 3, 'selected': False, 'text': '<p>I like Git because it actually helps communication developer to developer on a medium to large team. As a distributed version control system, through its push/pull system, it helps developers to create a source code eco-system which helps to manage a large pool of developers working on a single project.</p>\n\n<p>For example say you trust 5 developers and only pull codes from their repository. Each of those developers has their own trust network from where they pull codes. Thus the development is based on that trust fabric of developers where code responsibility is shared among the development community.</p>\n\n<p>Of course there are other benefits which are mentioned in other answers here.</p>\n'}, {'answer_id': 531042, 'author': 'sebnow', 'author_id': 64423, 'author_profile': 'https://Stackoverflow.com/users/64423', 'pm_score': 6, 'selected': False, 'text': '<p>"<a href="http://whygitisbetterthanx.com/#svn" rel="nofollow noreferrer">Why Git is Better than X</a>" outlines the various pros and cons of Git vs other SCMs.</p>\n\n<p>Briefly:</p>\n\n<ul>\n<li>Git tracks <strong>content rather than files</strong></li>\n<li><strong>Branches are lightweight</strong> and merging is <em>easy</em>, and I mean <em>really easy</em>.</li>\n<li>It\'s distributed, basically every repository is a branch. It\'s much easier to develop concurrently and collaboratively than with Subversion, in my opinion. It also makes <strong>offline</strong> development possible.</li>\n<li>It <strong>doesn\'t impose any workflow</strong>, as seen on <a href="http://whygitisbetterthanx.com/#svn" rel="nofollow noreferrer">the above linked website</a>, there are many workflows possible with Git. A Subversion-style workflow is easily mimicked.</li>\n<li>Git repositories are much <strong>smaller in file size</strong> than Subversion repositories. There\'s only one ".git" directory, as opposed to dozens of ".svn" repositories (note Subversion 1.7 and higher <a href="http://subversion.apache.org/docs/release-notes/1.7.html#wc-ng" rel="nofollow noreferrer">now uses a single directory</a> like Git.)</li>\n<li>The <strong>staging</strong> area is awesome, it allows you to see the changes you will commit, commit partial changes and do various other stuff.</li>\n<li><strong>Stashing</strong> is invaluable when you do "chaotic" development, or simply want to fix a bug while you\'re still working on something else (on a different branch).</li>\n<li>You can <strong>rewrite history</strong>, which is great for preparing patch sets and fixing your mistakes (<em>before</em> you publish the commits)</li>\n<li>… and a <em>lot</em> more.</li>\n</ul>\n\n<p>There are some disadvantages:</p>\n\n<ul>\n<li>There aren\'t many good GUIs for it yet. It\'s new and Subversion has been around for a lot longer, so this is natural as there are a few interfaces in development. Some good ones include <a href="http://code.google.com/p/tortoisegit/" rel="nofollow noreferrer">TortoiseGit</a> and <a href="http://mac.github.com/" rel="nofollow noreferrer">GitHub for Mac</a>.</li>\n<li><del>Partial checkouts/clones of repositories are not possible at the moment (I read that it\'s in development). However, there is submodule support.</del> <a href="http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.0.txt" rel="nofollow noreferrer">Git 1.7+ supports sparse checkouts</a>.</li>\n<li>It might be harder to learn, even though I did not find this to be the case (about a year ago). Git has recently improved its interface and is quite user friendly.</li>\n</ul>\n\n<p>In the most simplistic usage, Subversion and Git are pretty much the same. There isn\'t much difference between:</p>\n\n<pre><code>svn checkout svn://foo.com/bar bar\ncd bar\n# edit\nsvn commit -m "foo"\n</code></pre>\n\n<p>and</p>\n\n<pre><code>git clone git@github.com:foo/bar.git\ncd bar\n# edit\ngit commit -a -m "foo"\ngit push\n</code></pre>\n\n<p>Where Git really shines is branching and working with other people.</p>\n'}, {'answer_id': 1245254, 'author': 'William Pursell', 'author_id': 140750, 'author_profile': 'https://Stackoverflow.com/users/140750', 'pm_score': 2, 'selected': False, 'text': '<p>A few answers have alluded to these, but I want to make 2 points explicit:</p>\n\n<p>1) The ability to do selective commits (for example, <code>git add --patch</code>).  If your working directory contains multiple changes that are not part of the same logical change, Git makes it very easy to make a commit that includes only a portion of the changes.  With Subversion, it is difficult.</p>\n\n<p>2) The ability to commit without making the change public.  In Subversion, any commit is immediately public, and thus irrevocable.  This greatly limits the ability of the developer to "commit early, commit often".</p>\n\n<p>Git is more than just a VCS; it\'s also a tool for developing patches. Subversion is merely a VCS.</p>\n'}, {'answer_id': 1558578, 'author': 'si618', 'author_id': 44540, 'author_profile': 'https://Stackoverflow.com/users/44540', 'pm_score': 4, 'selected': False, 'text': "<p>All the answers here are as expected, programmer centric, however what happens if your company uses revision control outside of source code? There are plenty of documents which aren't source code which benefit from version control, and should live close to code and not in another CMS. Most programmers don't work in isolation - we work for companies as part of a team.</p>\n\n<p>With that in mind, compare ease of use, in both client tooling and training, between Subversion and git. I can't see a scenario where <em>any</em> distributed revision control system is going to be easier to use or explain to a non-programmer. I'd love to be proven wrong, because then I'd be able to evaluate git and actually have a hope of it being accepted by people who need version control who aren't programmers.</p>\n\n<p>Even then, if asked by management why we should move from a centralised to distributed  revision control system, I'd be hard pressed to give an honest answer, because we don't need it.</p>\n\n<p>Disclaimer: I became interested in Subversion early on (around v0.29) so obviously I'm biased, but the companies I've worked for since that time are benefiting from my enthusiasm because I've encouraged and supported its use. I suspect this is how it happens with most software companies.  With so many programmers jumping on the git bandwagon, I wonder how many companies are going to miss out on the benefits of using version control outside of source code? Even if you have separate systems for different teams, you're missing out on some of the benefits, such as (unified) issue tracking integration, whilst increasing maintenance, hardware and training requirements.</p>\n"}, {'answer_id': 1560184, 'author': 'devarni', 'author_id': 68906, 'author_profile': 'https://Stackoverflow.com/users/68906', 'pm_score': 2, 'selected': False, 'text': '<p>Subversion is very easy to use. I have never found in the last years a problem or that something doesn\'t work as expected. Also there are many excellent GUI tools and the support for SVN integration is big.</p>\n\n<p>With Git you get a more flexible VCS. You can use it the same way like SVN with a remote repository where you commit all changes. But you can also use it mostly offline and only push the changes from time to time to the remote repository.\nBut Git is more complex and has a steeper learning curve. I found myself in the first time committing to wrong branches, creating branches indirectly or get error messages with not much informations about the mistake and where I must search with Google to get better informations.\nSome easy things like substitution of markers ($Id$) doesn\'t work but GIT has a very flexible filtering and hook mechanism to merge own scripts and so you get all things you need and more but it needs more time and reading of the documentation ;)</p>\n\n<p>If you work mostly offline with your local repository you have no backup if something is lost on your local machine. With SVN you are mostly working with a remote repository which is also the same time your backup on another server... \nGit can work in the same way but this was not the main goal of Linus to have something like SVN2. It was designed for the Linux kernel developers and the needs of a distributed version control system.</p>\n\n<p>Is Git better then SVN? Developers which needs only some version history and a backup mechanism have a good and easy life with SVN. Developers working often with branches, testing more versions at the same time or working mostly offline can benefit from the features of Git. There are some very useful features like stashing not found with SVN which can make the life easier. But on the other side not all people will need all features. So I cannot see the dead of SVN.</p>\n\n<p>Git needs some better documentation and the error reporting must be more helpful. Also the existing useful GUIs are only rarely. This time I have only found 1 GUI for Linux with support of most Git features (git-cola). Eclipse integration is working but its not official released and there is no official update site (only some external update site with periodical builds from the trunk <a href="http://www.jgit.org/updates" rel="nofollow noreferrer">http://www.jgit.org/updates</a>)\nSo the most preferred way to use Git this days is the command line.</p>\n'}, {'answer_id': 1560307, 'author': 'zendar', 'author_id': 25732, 'author_profile': 'https://Stackoverflow.com/users/25732', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.ericsink.com/" rel="nofollow noreferrer">Eric Sink</a> from SourceGear wrote series of articles on differences between distributed and nondistributed version controls systems. He compares pros and cons of most popular version control systems. Very interesting reading. <br>\nArticles can be found on his blog, <a href="http://www.ericsink.com" rel="nofollow noreferrer">www.ericsink.com</a>:</p>\n\n<ul>\n<li><p><a href="http://www.ericsink.com/entries/Read_the_Diffs.html" rel="nofollow noreferrer">Read the Diffs</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/git_index.html" rel="nofollow noreferrer">Git is the C of Version Control Tools</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/git_immutability.html" rel="nofollow noreferrer">On Git\'s lack of respect for immutability and the Best Practices for a DVCS</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/dvcs_dag_1.html" rel="nofollow noreferrer">DVCS and DAGs, Part 1</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/dvcs_dag_2.html" rel="nofollow noreferrer">DVCS and DAGs, Part 2</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/dbts_fossil.html" rel="nofollow noreferrer">DVCS and Bug Tracking</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/merge_history.html" rel="nofollow noreferrer">Merge History, DAGs and Darcs</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/why_is_git_fast.html" rel="nofollow noreferrer">Why is Git so Fast?</a></p></li>\n<li><p><a href="http://www.ericsink.com/entries/hg_denzel.html" rel="nofollow noreferrer">Mercurial, Subversion, and Wesley Snipes</a></p></li>\n</ul>\n'}, {'answer_id': 1994861, 'author': 'Dan Rosenstark', 'author_id': 8047, 'author_profile': 'https://Stackoverflow.com/users/8047', 'pm_score': 1, 'selected': False, 'text': "<p>First, concurrent version control seems like an easy problem to solve. It's not at all. Anyway...</p>\n\n<p>SVN is quite non-intuitive. Git is even worse. [sarcastic-speculation] This might be because developers, that like hard problems like concurrent version control, don't have much interest in making a good UI. [/sarcastic-speculation]</p>\n\n<p>SVN supporters think they don't need a distributed version-control system. <strong>I thought that too.</strong> But now that we use Git exclusively, I'm a believer. Now version control works for me AND the team/project instead of just working for the project. When I need a branch, I branch. Sometimes it's a branch that has a corresponding branch on the server, and sometimes it does not. Not to mention all the other advantages that I'll have to go study up on (thanks in part to the arcane and absurd lack of UI that is a modern version control system).</p>\n"}, {'answer_id': 2238465, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>Git in Windows is quite well supported now.</p>\n\n<p>Check out GitExtensions = <a href="http://code.google.com/p/gitextensions/" rel="nofollow noreferrer">http://code.google.com/p/gitextensions/</a></p>\n\n<p>and the manual for a better Windows Git experience.</p>\n'}, {'answer_id': 2239475, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://subversion.wandisco.com/component/content/article/1/40.html" rel="nofollow noreferrer">http://subversion.wandisco.com/component/content/article/1/40.html</a></p>\n\n<p>I think it\'s fairly safe to say that amongst developers, the SVN Vs. Git argument has been raging for some time now, with everyone having their own view on which is better.  This was even brought up in the of the questions during our Webinar on Subversion in 2010 and Beyond.</p>\n\n<p>Hyrum Wright, our Director of Open Source and the President for the  Subversion Corporation talks about the differences between Subversion and Git, along with other Distributed Version Control Systems (DVCS).</p>\n\n<p>He also talks about the upcoming changes in Subversion, such as Working Copy Next Generation (WC-NG), which he believes will cause a number of Git users to convert back to Subversion.</p>\n\n<p>Have a watch of his video and let us know what you think by either commenting on this blog, or by posting in our forums.  Registration is simple and will only take a moment!</p>\n'}, {'answer_id': 2240942, 'author': 'Matt Hulse', 'author_id': 149212, 'author_profile': 'https://Stackoverflow.com/users/149212', 'pm_score': 2, 'selected': False, 'text': "<p>I absolutely love being able to manage local branches of my source code in Git without muddying up the water of the central repository.  In many cases I'll checkout code from the Subversion server and run a local Git repository just to be able to do this.  It's also great that initializing a Git repository doesn't pollute the filesystem with a bunch of annoying .svn folders everywhere.</p>\n\n<p>And as far as Windows tool support, TortoiseGit handles the basics very well, but I still prefer the command line unless I want to view the log.  I really like the way Tortoise{Git|SVN} helps when reading commit logs.</p>\n"}, {'answer_id': 2710068, 'author': 'haknick', 'author_id': 325458, 'author_profile': 'https://Stackoverflow.com/users/325458', 'pm_score': 1, 'selected': False, 'text': '<p>I have been dwelling in Git land lately, and I like it for personal projects, but I wouldn\'t be able to switch work projects to it yet from Subversion given the change in thinking of required from staff, without no pressing benefits. Moreover the biggest project we run in-house is extremely dependent on <a href="http://svnbook.red-bean.com/en/1.0/ch07s03.html" rel="nofollow noreferrer">svn:externals</a> which, from what I\'ve seen so far, does not work so nicely and seamlessly in Git.</p>\n'}, {'answer_id': 3345344, 'author': 'inger', 'author_id': 174284, 'author_profile': 'https://Stackoverflow.com/users/174284', 'pm_score': 2, 'selected': False, 'text': '<p>I think Subversion is fine.. until you start merging.. or doing anything complicated.. or doing anything Subversion thinks is complicated (like doing queries to find out which branches messed with a particular file, where a change <em>actually</em> comes from, detecting copy&amp;pastes, etc)...</p>\n\n<p>I disagree with the winning answer, saying the <em>main benefit</em> of GIT is offline work - it\'s certainly useful, but it\'s more like an extra for my use case. SVK can work offline too, still there is no question for me which one to invest my learning time in).</p>\n\n<p>It\'s just that it\'s incredibly powerful and fast and, well -after getting used to the concepts - very useful (yes, in that sense: user friendly).</p>\n\n<p>For more details on a merging story, see this :\n<a href="https://stackoverflow.com/questions/2945842/using-git-svn-or-similar-just-to-help-out-with-svn-merge/2981745#2981745">Using git-svn (or similar) *just* to help out with an svn merge?</a></p>\n'}, {'answer_id': 3737909, 'author': 'Elaine Murphy', 'author_id': 450904, 'author_profile': 'https://Stackoverflow.com/users/450904', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://blogs.wandisco.com/2010/09/08/why-we-got-so-heavily-involved-in-the-subversion-project/" rel="nofollow noreferrer">David Richards WANdisco Blog on Subversion / GIT</a></p>\n\n<blockquote>\n  <p>The emergence of GIT  has brought with it a breed of DVCS fundamentalists – the ‘Gitterons’ – that think anything other than GIT is crap. The Gitterons seem to think software engineering happens on their own island and often forget that most organizations don’t employ senior software engineers exclusively. That’s ok but it’s not how the rest of the market thinks, and I am happy to prove it: GIT, at the last look had less than three per cent of the market while Subversion has in the region of five million users and about half of the overall market.</p>\n  \n  <p>The problem we saw was that the Gitterons were firing (cheap) shots at Subversion. Tweets like “Subversion is so [slow/crappy/restrictive/doesn\'t smell good/looks at me in a funny way] and now I have GIT and [everything works in my life/my wife got pregnant/I got a girlfriend after 30 years of trying/I won six times running on the blackjack table]. You get the picture.</p>\n</blockquote>\n'}, {'answer_id': 3998872, 'author': 'Adrian Smith', 'author_id': 220627, 'author_profile': 'https://Stackoverflow.com/users/220627', 'pm_score': 1, 'selected': False, 'text': '<p>Why I think Subversion is better than Git (at least for the projects I work on), mainly due to its usability, and simpler workflow:</p>\n\n<p><a href="http://www.databasesandlife.com/why-subversion-is-better-than-git/" rel="nofollow">http://www.databasesandlife.com/why-subversion-is-better-than-git/</a></p>\n'}, {'answer_id': 5246905, 'author': 'jotik', 'author_id': 651657, 'author_profile': 'https://Stackoverflow.com/users/651657', 'pm_score': 2, 'selected': False, 'text': '<p>For people looking for a good Git GUI, <a href="http://www.syntevo.com/smartgit/" rel="nofollow">Syntevo SmartGit</a> might be a good solution. Its proprietary, but free for non-commercial use, runs on Windows/Mac/Linux and even supports SVN using some kind of git-svn bridge, I think.</p>\n'}, {'answer_id': 6169247, 'author': 'gtd', 'author_id': 8376, 'author_profile': 'https://Stackoverflow.com/users/8376', 'pm_score': 2, 'selected': False, 'text': "<p>This is the wrong question to be asking.  It's all too easy to focus on git's warts and formulate an argument about why subversion is ostensibly better, at least for some use cases.  The fact that git was originally designed as a low-level version control construction set and has a baroque linux-developer-oriented interface makes it easier for the holy wars to gain traction and perceived legitimacy.  Git proponents bang the drum with millions of workflow advantages, which svn guys proclaim unnecessary.  Pretty soon the whole debate is framed as centralized vs distributed, which serves the interests of the enterprise svn tool community.  These companies, which typically put out the most convincing articles about subversion's superiority in the enterprise, are dependent on the perceived insecurity of git and the enterprise-readiness of svn for the long-term success of their products.</p>\n\n<p>But here's the problem: <strong>Subversion is an architectural dead-end</strong>.  </p>\n\n<p>Whereas you can take git and build a centralized subversion replacement quite easily, despite being around for more than twice as long svn has never been able to get even basic merge-tracking working anywhere near as well as it does in git.  One basic reason for this is the design decision to make branches the same as directories.  I don't know why they went this way originally, it certainly makes partial checkouts very simple.  Unfortunately it also makes it impossible to track history properly.  Now obviously you are supposed to use subversion repository layout conventions to separate branches from regular directories, and svn uses some heuristics to make things work for the daily use cases.  But all this is just papering over a very poor and limiting low-level design decision.  Being able to a do a repository-wise diff (rather than directory-wise diff) is basic and critical functionality for a version control system, and greatly simplifies the internals, making it possible to build smarter and useful features on top of it.  You can see in the amount of effort that has been put into extending subversion, and yet how far behind it is from the current crop of modern VCSes in terms of fundamental operations like merge resolution.</p>\n\n<p>Now here's my heart-felt and agnostic advice for anyone who still believes Subversion is good enough for the foreseeable future:</p>\n\n<p>Subversion will never catch up to the newer breeds of VCSes that have learned from the mistakes of RCS and CVS; it is a technical impossibility unless they retool the repository model from the ground up, but then it wouldn't really be svn would it?  Regardless of how much you think you don't the capabilities of a modern VCS, your ignorance will not protect you from the Subversion's pitfalls, many of which are situations that are impossible or easily resolved in other systems.</p>\n\n<p>It is extremely rare that the technical inferiority of a solution is so clear-cut as it is with svn, certainly I would never state such an opinion about win-vs-linux or emacs-vs-vi, but in this case it is so clearcut, and source control is such a fundamental tool in the developer's arsenal, that I feel it must be stated unequivocally.  Regardless of the requirement to use svn for organizational reasons, I implore all svn users not to let their logical mind construct a false belief that more modern VCSes are only useful for large open-source projects.  Regardless of the nature of your development work, if you are a programmer, you will be a more effective programmer if you learn how to use better-designed VCSes, whether it be Git, Mercurial, Darcs, or many others.</p>\n"}]
['https://Stackoverflow.com/questions/871', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/203/']