delete and add new git repository to project code example Example: clone and remove existing git repository git rm -rf git