git replace with remote origin code example
Example 1: change remote to use ssh git command
git remote add origin git@github.com:nikhilbhardwaj/abc.git
Example 2: set origin url git
git remote add origin <git_url>
git remote add origin git@github.com:nikhilbhardwaj/abc.git
git remote add origin <git_url>