Go to https://www.rstudio.com/products/rstudio/download/#download
Select the installer for your operating system.
Once you have finished you should set up your github account