We have a team of 3 programmers, and a dedicated server that we upload and download files through a FTP client. We are having edit colisions and I immediately thought about GIT. But how would it work in my current setup? See below:
Right now we have 2 remote directories on that server. One is the production environment for our application, and the other is the development. We edit and add news files, test it online and when the update is due, we move the selected files to production. That's simple to understand.
With GIT, how can I branch the repository, make the changes I need and still be able to test it on the same server environment? I assume GIT would branch to my local machine. I need to make sure I'm testing on the same infrastructure before merging.
Thanks for any help in advance, and sorry for the long post.