Repositories are essential for modern software development. They allow step-by-step development of software and collaborative development in teams minimizing the conflicts arising due to this.

They are, as such very helpful tools, however, only if they are used in a proper way. Aside from the development aspects, repositories also ensure that simulations are reproducible since they allow to go back to past code versions.

State of the art repositories are git or mercurial; hosting sites are e.g. gitlab or bitbucket

 

Some recommendations how to use repositories

  • Use repository for every code that is worth more than 2 days of coding
  • You can have one “experimental” repository
  • Write clear commit messages
  • Every coding-session should end with a commit/push, ideally of documented code