Update existing Github repository with the latest updated and added files and folders

How to update existing Github repository with the latest updated and added files and folders.

1. Change to the root directory of the repository directory. Check if origin is defined to your Github repository. You can check that with this command: git remote -v

2. Run this commands. Do this to add all files, commit changes and upload the changes to the Github repository

git add .
git commit -m "ADD YOUR TEXT HERE"
git pull origin master