How to remove a Git submodule

I put this in the category of things are a lot harder than they should be.

To remove a git submodule once and for all, follow the steps at

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.