Chapter 6: Managing Your Source Code with Git
A few years ago, when we were developers and writing code as part of a team, we encountered recurring problems that were for the most part as follows:
- How to share my code with my team members
- How to version the update of my code
- How to track changes to my code
- How to retrieve an old state of my code or part of it
Over time, these issues have been solved with the emergence of source code managers, also called a version control system (VCS) or noted more commonly as a version control manager (VCM).
The goals of these VCSs are mainly to do the following:
- Allow collaboration of developers' code
- Retrieve the code
- Version the code
- Track code changes
With the advent of agile methods and a development-operations (DevOps) culture, the use of a VCS in processes has become mandatory. Indeed, as mentioned in Chapter 1, The DevOps Culture and Infrastructure as Code Practices, the implementation...