set user remote git code example Example: git remote add git remote add origin https://github.com/user/repo.git