How to download a project I made

Guys I made a project and it has like 50 files. I want to download it in my PC. How do I download the code ?

Click on the code button (</> next to Publish) and go to source control on the left sidebar. Commit any changes and save it to a github repository. Go to your github and click on the code button (< > Code - it is a dropdown menu). There, click on Download zip.

There may be a way to do it from within firebase, but this is the way I know - anyone is free to correct me and fill me in on a more direct way!