how to add git remote origin other repository code example
Example 1: adding remote origin git
git remote add origin <link>
Example 2: add local repository to remote
git remote add origin https://github.com/Nikita-153/Try.git
git branch -M main
git push -u origin main