To initialize a git repository at the start (only need to do this once)
git init .
To have git not upload certain files make a file titled .gitignore and in the folder/file type
<foldername>/
<filename>
Ensure that you are in the correct folder. If in incorrect folder, open the correct folder:
pwd
To check whether files have uploaded:
git status
To add all files:
git add .
Or to add specific file:
git add <filename>
To commit to git hub; these are the files we want to send:
git commit -m "Title of Commit" [-m "More detailed description of commit; unnecessary"]
To upload to git hub:
git push
If edited on git hub:
git pull