There should be a way of committing and pushing your files directly from the editor, to GitHub. You would be able to either work with the a cloned repo, or login to your account, and from there access your repositories and stuff. To do so:
The area could be located somewhere over here:

Hi @byfelipesanchez! this looks like a feature request for the online editor, which is housed in https://github.com/processing/p5.js-web-editor. I'm going to transfer your issue there so the right folks see it! :)
EDIT: actually i don't have the right permissions to. @catarak can you do the honors, please?
@catarak @byfelipesanchez I went through some of the online IDEs. The most simple and useful one, which is being used by stackblitz, is to have a commit button, fork button & branches window above the file explorer window which also consists of a pull/refresh button. But stackblitz being an IDE almost support all kind of folder structure so the cloning of a repo direct to the IDE. But for our editor, we can have a button to add the entry point of the project. This will avoid any kind of unnecessary errors.
@catarak @byfelipesanchez I went through some of the online IDEs. The most simple and useful one, which is being used by stackblitz, is to have a
commitbutton,forkbutton &brancheswindow above the file explorer window which also consists of apull/refreshbutton. But stackblitz being an IDE almost support all kind of folder structure so the cloning of a repo direct to the IDE. But for our editor, we can have a button to add the entry point of the project. This will avoid any kind of unnecessary errors.
Exactly. I mean, a commit button might be possible right? But even if not, a simple indicator about which branch you are in or something like that is already rly good.
Thanks for opening this issue! This is actually captured as #753 so I'm going to close this issue as a duplicate. But I agree this would be very useful!!
Most helpful comment
Hi @byfelipesanchez! this looks like a feature request for the online editor, which is housed in https://github.com/processing/p5.js-web-editor. I'm going to transfer your issue there so the right folks see it! :)
EDIT: actually i don't have the right permissions to. @catarak can you do the honors, please?