As I expand on different website changes I'm trying to find a better and safer alternative to my current testing.domain.com and FTP solution. My goal is to put the site in revision control (probably Git due to its excellent branching and tagging ability) and still be able to view my dynamic site (PHP) in real time along with clients.
So for some questions
- Is there any free or very cheap software that does this already? I don't want to reinvent the wheel.
- What would be the best way to implement version control in this setup? Use the testing folders on the server as a git repo? Sync the dev and local copies and use local as a repository? Do I make the whole site (production and dev) a repository?
- How can I sync dev and production?