My IDE has a build-in history. Nevertheless I often use a “real” version control system for my sample projects. Today I setup a local subversion repository:
Install it: sudo apt-get install subversion
Create the repo: svnadmin create ~/svn
Tell your IDE where to find the repo: file:///home/struggy/svn
Connect your project and you are done.