how to remove git init from cmd code example Example: git init at wrong folder cd myFolder rm -rf .git