git remote add origin <remote-ssh-url>
[example: git remote add origin git@gitlab.com:andrea-sample-resources/git-lab-examples.git]
[verify: can use one of below to view remote origin or list of all remotes ]
git remote show origin
git config --get remote.origin.url
git remote -v
[change: if need to change the name of the remote origin e.g, if cloned from someone else]
git remote set-url origin <remote-ssh-url>