Why/when to use source control
Source control lets many people work on the same code base at the same time. Any conflicts are resolved in a controlled and trackable way, and it’s easy to revert to previous versions.
Source control allows others to view and use your work, and see the history of changes to a code base.
- Managing different versions of work
When experimenting with or prototyping different approaches to an analysis, source control lets you easily review differences between versions.
- Creating a history of changes that you (and your collaborators) can refer to later.
- As a backup mechanism
Easily revert to previous versions, when needed.