I ran:
$ git config credential.helper store
And then:
$ git push origin master
After pushing, I entered my creden
Run the following command in the terminal to remove your credentials stored in the cache
git config --global --unset credential.helper