I mean it comes with gitignore which exlucdes most things that should not be there.
So out of the box,
git initgit remote add origin XYZgit add .git commit -m "init commitgit push
As simple as that. Out of the box source control. 
Of course if you start add other things to it you can build your gitignore around that.