Storing source code in GitHub
If we want to share one of our projects in an open source fashion, we must version its code in a Git platform that allows the following elements:
- Public repositories; that is, we need to have access to the source code contained in this repository, but without necessarily being authenticated on this Git platform.
- Features and tools for code collaboration between the different members of this platform.
Two main platforms allow us to host open source tools: GitLab, which we looked at in the Using GitLab CI section of Chapter 7, Continuous Integration and Continuous Delivery, and GitHub, which is now the most used platform for open source projects.
Let's learn how to use GitHub so that we can host our project or contribute to another project.
Creating a new repository on GitHub
If we want to host our project on GitHub, we need to create a repository. Follow these steps to do so:
- First, log in to your GitHub account...