git add repository url on a branch code example
Example 1: git remote add
git remote add origin https://github.com/user/repo.git
Example 2: adding remote origin git
git remote add origin <link>
git remote add origin https://github.com/user/repo.git
git remote add origin <link>