version control

As part of the Donders Institute Roshan Cools lab uses GitHub for version control.

Steps to get started (recommendations from Bram):

  1. Install git on your computer (If you are working on the computer cluster at the DCCN, then you should be good to go). You can follow these instructions by Software Carpentry. Also install

  2. Set up an account at GitHub.

  3. Take the self-paced tutorial "Version Control with Git" from Software Carpentry on your own. This takes about 3 hours in total, which you can spread out as you like.

  4. You can also have a look at Danae's GitHub tutorial on how to get started.

        After having done the tutorial, you might not like doing version control via the command line. You don't have to:

  • There are many graphical user interface clients for Git. For an overview, see here.

  • Many software packages we use for coding and data analysis come with Git and GitHub integration. This means that you can run all version control commands via the graphical user interface of these programs. Among others, the following programs include these features: RStudio (for R, see here), PyCharm (for Python, see here), and MATLAB (see here).

        If you get stuck, you will probably find the solution to your problem on Stack Overflow.

Recommended readings

Ram, K (2013). Git can facilitate greater reproducibility and increased transparency in science. Source Code for Biology and Medicine. DOI: 10.1186/1751-0473-8-7