I'm new to Git and trying to move my website away from SVN to GIT for version control and also deployment.
I've got a number of developers who will work on their local machine and I've got 3 servers, 'development', 'staging' and 'production'.
I've been reading books and watching videos of how Git works so I think I'm pretty familiar with it now as in adding, committing etc, however I need advice on the workflow and deployment.
The first thing I need to know is where to initialize the GIT repository. Does it need to be on the 'production' server and then I clone it on 'staging' and 'development' and each developer also clones it to their local machine?
Secondly, should each server have it's own branch? I.e 'development' will have a 'development' branch, 'staging' will have a 'staging' branch and 'production' will have a 'production' branch?
Thanks