Git and GitHub
What is git?
Git is a distributed version control system. It allows you to track changes in files and directories, and to collaborate with others on code development.
What is GitHub?
GitHub is a online hosting platform for git. It also provides a wide range of other developer tools, covering:
- automation
- security
- project management
- package and website hosting
You can read more about the benefits of GitHub and why we use it.
All code written on the Analytical Platform should be stored in a git repository on GitHub in the MoJ Analytical Services organisation. This includes R scripts, Python scripts and Jupyter notebooks.
Join GitHub
If you do not have a GitHub account, you will be prompted to create one when you join the moj-analytical-services or ministryofjustice GitHub Organisations via SSO. Click here to join the ministryofjustice Organisation. Click here to join the moj-analytical-services Organisation. If you experience any issues with the SSO process please contact #ask-operations-engineering
Get started
If you’re new to git or GitHub, you may find it useful to take a look at the learning resources before getting started.
When you’re ready, you’ll need to set up GitHub to work with git in RStudio and JupyterLab on the Analytical Platform.