Original Link: http://alistapart.com/article/git-the-safety-net-for-your-projects

I remember January 10, 2010, rather well: it was the day we lost a project’s complete history. We were using Subversion as our version control system, which kept the project’s history in a central repository on a server. And we were backing up this server on a regular basis—at least, we thought we were. The server broke down, and then the backup failed. Our project wasn’t completely lost, but all the historic versions were gone.

Shortly after the server broke down, we switched to Git. I had always seen version control as torturous; it was too complex and not useful enough for me to see its value, though I used it as a matter of duty. But once we’d spent some time on the new system, and I began to understand just how helpful Git could be. Since then, it has saved my neck in many situations.

During the course of this article, I’ll walk through how Git can help you avoid mistakes—and how to recover if they’ve already happened.

I use Git for all projects, including keeping a backup of this site’s theme.