git remove remote origin after clone code example
Example 1: delete remote add from local
git remote remove origin
Example 2: git ignore remove
git rm -r --cached .
git add .
git commit -m "Removing all files in .gitignore"
Example 3: git reset remote origin
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git