I have a dedicated Ubuntu server running Apache and MySQL - On it, we run an ecommerce shop using Magento software which I am developing/designing/seoing.
I wish to get things under control using Git. And by that I mean, I have been using a testing server but FTP'ing tests and changes to it prior to putting on the dedicated server (2 different servers completely).
What I wish to have is the testing site, available on the Ubuntu server, under a different domain so I can still test things but also incorporate some version control system so that changes are thoroughly documented and can be unrolled if required without a major headache. Once run on testing server and happy with it, I would like to push it to the production server.
But how do I proceed?
Can anyone point me in the right direction?