Reusing Open Code
When reusing Open Code, consider what the respective licence permits and what it requires. Many licences, such as MIT or Apache 2.0, mainly require that you credit the authors and include the licence text. Other licences, such as the GPL, also require that modifications and software built on the code be shared as Open Source under the same licence (“copyleft”).
You should also check which software you would need to install and use to reuse the code. Purely commercial software can limit reusability, for example if you do not have access to a suitable licence (see Open and FAIR: Recognising Open Code).