How to Choose the Best Code Repository for Your Project

There are many code repositories - GitHub, GitLab, BitBucket, etc. Which one would be the best match for your project and how to choose?
There are many code repositories - GitHub, GitLab, BitBucket, etc. Which one would be the best match for your project and how to choose?