[Linux] What folder(s) to save for the Engine?

Hi all,

So, once the engine is compiled, let’s say I want to put it on git, so people can sync to it and always have the latest version. What folders do I need to place in my git repo? And does this answer change depending on the platforms I want to use the engine on?