How to remove a clone repository code example Example: clone and remove existing git repository git rm -rf git