how to unhook a git remote code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: how to remove remote origin from git repo
git push -u origin master
git remote remove origin
git push -u origin master