Delete the target directory from the git repository and ignore it.