This is my first post, so please excuse me if this is not the correct place to post this question. I've been using Git for awhile now, but now we have another developer and a designer on board, and we are all trying to figure out the best way to use Git as a team. I'm not talking about general issues like branching and merging, but more on the technical side, how it works with a web app.
Let me backtrack a bit here: for desktop apps, I can clone the repo I want to work on, do my work, push or submit a pull request or whatever; getting the code to run is no big deal, because the software runs entirely on the user's workstation; but on a web app? How would each team member work on their part? Would each person have to have their own local web server (in our case a LAMP stack)? Or is there some other way that works better? We are planning to use BitBucket for storing the repo, because it integrates with our project management software, but that adds another layer; where do hosted Git solutions like that fit into the picture?
It seems like there should be some standard answer to these types of questions; but if there is, it doesn't seem to be clearly posted anywhere. My guess is that maybe these things vary from team to team, and no two do things the same way? I mean that kind of makes sense, because a team of 3 and a team of 300 won't be using the same approaches to stuff like this... or do they? I guess beyond my specific question above is a more general question of how established teams do Git - are there any resources out there on the subject?
Thanks in advance.