Git avoids that by giving you your own copy of the code that nobody else touches. When you’re done with your changes, you “merge” it with the code that everybody has access to. If, while you’ve been working on your code, somebody made a change that conflicts with what you did…