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 ...

Get Learning DevOps - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.