$ git remote add origin https://github.com/user/repo.git
# Set a new remote
$ git remote -v
# Verify new remote
> origin https://github.com/user/repo.git (fetch)
> origin https://github.com/user/repo.git (push)
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
# set up remote origin (i.e. for the very first time)
git remote add origin https://github.com/USERNAME/REPOSITORY.git
git remote set-url origin new.git.url/here
git remote add => ADDS a new remote.
git remote set-url => UPDATES existing remote.
git remote set-url origin https://github.com/USERNAME/repoName