-git status
will tell you whether there are changes to be commitet, you don't have the same version as the online repository or if everything is up to date.
-For committing use this command:
git add [files to commit]
(file names separated by spaces)
or
git add .
(don't forget the ".")
to add all changes.
-Then commit with:
git commit -m [INSERT COMMIT MESSAGE]
-To push them to the online Repository use:
git push
-To update your local repository from the online one use:
git pull