git uninstall origin code example Example 1: remove origin git git remote rm origin Example 2: delete git origin git remote rm destination