How to clone GitHub repository and branches

This article is a step-by-step guide on how to clone GitHub repository and branches to your computer. But before that we will explain what is GitHub and how to use it?.