title: Is it possible to do version control on my computer system files themselves?
body: <p>Here's my problem. I have OSX Lion and I do Web development, BUT I have no real comprehension of what I'm doing when I'm using brew, pear, and the terminal in general. I am working on leveling up, but I still have to work in the meantime. That's why I very often mess up my system files (just tried to install PHPUnit, didn't work, so I deleted other pear directories, still didn't work, and now I end up with a mess).</p>
  
  <p><em>It would feel better and relieve a lot of stress to know I can revert</em> back my changes when I mess up. <strong>So my question is, can I set up a version control like git on all my computer files themselves, so that before any big change, I can save the state of my computer? Or is there any other way to get that same result?</strong></p>
  
  <p>I think creating different users for my mac is not enough, cause I want to build up my system, and add things to it, so it doesn't really help. <strong>And I'm not sure, but Time Machine is made just to get some files, not to revert my system to some previous state, or can it do it?</strong></p>
  
  <p>Help would be greatly greatly appreciated, thanks!</p>