Replace origin with upstream for canonical git repo.
Fallback to origin remote for git address.
Add git add-upstream command.