Can't upload to Repository. remote: Repository not found.


I have seen similar problem to mine, however, those solutions are not working. 

I did the following : 

git remote add origin push -u origin master

On a repository which had already been set up. I get: 

remote: Repository not found.
fatal: repository ‘’ not found

Now, exists! And I copied the above git commands directly from GitHub’s.  page (as is recomended) . 

Does anyone have a solution or some suggested steps for debug. 

BTW, if I do:

git remote add origin

Again i get:

fatal: remote origin already exists. 

Resolved. Couldn’t figure this one out. I used the github app and it wroked