usage: git remote remove <name> code example Example 1: git delete remote name git remote rm remote_name Example 2: git remove remote git remote remove origin