cd \local\repository\directory- show current remote and the name of the remotes:
git remote -v - take the name of the remote you'd like to remove (e.g. origin or destination) and plug it into the next command
git remote rm originwill remove a remote named 'origin' but substitute your remote name here
git remote add origin https://[email protected]/userName/remoteRepoName.gitgit push -u origin master