Add/update git repo url
- initialize git in the project root
git init.git folder will be generated in project root using above command
- if .git folder already exist then check whether remote url exist using
git remote -v- to add repository url by copying using github.com and copy and clone option ( keep https or ssh ; depends on your choice and config )
git remote add origin <https://github.com/user/repo.git>- to update the remote URL
git remote set-url origin < https://github.com/user/repo.git>- check again using
git remote -v