how to remove git from folder windows 10 code example Example: remove git from folder windows cmd rmdir /S .git