How to update or commit code changes from local github repository to repository on github

A user can make changes to code in their local folder (in this case, MumbaiStock) and then update or commit  that code into the github repository.

Below is the user information:
github User ID is userid
github User Name is “UserFirstName UserLastName”
github User Email is “”

To update github or commit code from the local repository to that on github, open a terminal window and do the following:
$ cd ~/MumbaiStock <enter>
$ git config –global “UserFirstName UserLastName” <enter>
$ git config –global “” <enter>
$ git commit -m v1.5 <enter>
$ git push <enter>

git push will publish the local changes to the repository after you enter your github user ID and password when prompted.