$ git remote
$ git remote rm origin
$ git remote add origin git@xxx.git
$ git pushfatal: The current branch master has no upstream branch.To push the current branch and set the remote as upstream, use
git push --set-upstream origin master