put .gitignore in your main catalog
git status (you will see which files you can commit)git add -Agit commit -m "message"git push
You need to add your source files with git add or the GUI equivalent so that Git will begin tracking them.
git add
Use git status to see what Git thinks about the files in any given directory.
git status