I recently started work at a new company which has have 4 live versions of the same site with slight differences. We have no source control and no development environment. The current development team consists of one person. Me.
I need to implement some source control that houses both the current live environment and a new development one. I also need a copy of the code on a remote location to protect it should anything happen to my hardware or the dev env.
As you can appreciate, the current live environment has a different config and lives in a different location to the development.
My question: Should I use Git, SVN or some other software? Is it possible to have a GIT branch point to a different file location?
At the moment I am using bitbucket and sourcetree. I have managed to 'track' the updates from one repo to the remote. But I am stuggling to setup the dev side. It seems that each branch lives locally inside the original repo.
If not, would it be better to have a current live repo and a seperate dev? Then merge upon a release? I think I may have just answered my own question. But, as this is the foundations for all future developments I know it is important to get this part correct. Fortunately/unfortunately this side of software development has normally been established prior. Any suggestions will be greatly received. Thank you.