remove command for git directory windows code example Example: remove git from folder windows cmd rmdir /S .git