We have discussed branching using Git in Chapter 3, Version Control with Git. We have discussed how your code should go from a commit on a development environment to a test environment, be it automatically tested and manually tested if necessary; then an acceptance environment where the customer can have a look at it and finally, a production environment where customers can use the software pretty much fully automated. So, you will have to set up a complete DTAP street (Development, Test, Acceptance, and Production), but still be able to differentiate between them all.
Perhaps you may have more or fewer environments, but you still want to know what commits are on what environment. We are going to set up one of those environments in this chapter. First, we are going to look at the process of branching your software so it can be distributed to the different (fictional...