This is a simple story to illustrate how to do basic revision control with Git. I've had a couple of nightmares with Git repositories - it has been a bit of a git getting my head around how it works.
If you don't know what Git is, it's a distributed revision control and source code management (SCM) system. It's widely used to share open source code and is great for managing your code base with speed and, if you pay at github.com private.