how to remove git clone from a file code example Example: clone and remove existing git repository git rm -rf git