Change remote for pulling and pushing. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-remote.
git-extras
git rename-remote upstream origin