If git push origin master is not working, all you need to do is edit that file with your favorite editor and change the URL = setting to your new location. Assuming the new repository is set up correctly and your URL is correct, you'll easily be able to push and pull to and from your new remote location.