The game engine I use is called construct 3, which is mostly block based. I don’t know if GitHub will work with the block system, but I can send the game files if necessary.
Github should be able to pull every file in a directory so long as it isn't in the git.ignore
The project files need to be stored on the computer, so as long as you upload everything your computer uses to open it, it should be good.