How to commit a big project?

I have just created a project in Unity and added some object.
When I open github client and try to make a commit, it says, that sorry, but your projects is too large (~4000 files to be committed).
How can I solve it? I want to commit a whole project to be able restore it in case of something.

Make sure you ignore the Library and Temp folders. Also, turn on meta files to use git.