Q:

Error with renamed repo in github, "remote: This repository moved. Please use the new location"

I am receiving this notice: remote: This repository moved. Please use the new location [new location] when I push updates from my local instance to remote master on GitHub.
Is there a way to fix this?

A:

The simple way is:
 git remote set-url origin [updated link url https://........git]

Alternatively, if you like the long way it is:
 git remote rm origin
 git remote add origin [updated link]

Changing a remote's URL github documentation goes into further detail. 

A:

To check the current one:
  git remote -v

Then to change it:
  git remote set-url origin https://github.com/YOUR-USERNAME/YOUR-REPO.git

