best practice for storing cocos2dx projects in a SCM system

*** Pardon my English mistakes , I’m not a native speaker ***

I would like to store a project I’ve started in a SCM ( I guess I’d go GitHub) but I’m kind of confused about what should be stored and what should not.

from the basic tutorials (I’m a windows user) I’ve got something that look like this:

Cocos2dx Root -> c:\dev\cocos2dx
My Project -> c:\dev\cocos2dx\projects\TestProject

and then inside the project folder I have the game code and resources
…\classes
…\Resources

as well as projects directories for each platform (ios , mac , windows , android , etc…)

I’ve noticed (and i guess its obvious) that there are build dependencies upon libraries that exist in the cocos2dx root but not in my project So I’m kind of wondering whether to store the entire cocos2dx folder (which feels to me like an overkill) or store only the project folder (which can potentially make it harder for future collaborators to lay their hands on the projects since they will have to download and configure cocos2dx by themselves ).

How do you guys store your stuff in your SCM?