In a couple of cases, we might want to share the code with others. When working on a software project, instead of working alone, there is a high chance that more than one person is working on the same thing. Sharing code becomes critical when different people are collaborating on the same codebase. For open source software, sharing code also gives the public access to the code for reviewing, testing, and contributing to it.
At the same time, sharing code along with published papers also enables the ability of others to understand the code, increasing the reproducibility, reusability, and expandability. It also enables others to be able to cite the software and credit its authors when they use it.
MolSSI recommends using git for version control, and GitHub as a hosting service, though there are other options.
Recommended Hosting Service: GitHub
Other hosting Services: GitLab, BitBucket
Tutorials for sharing code with GitHub
Introduction of using GitHub from MolSSI’s Best Practices Workshop
Code collaboration using GitHub from MolSSI’s Best Practices Workshop
GitHub Docs