I found this today and its an incredable cheatsheet on how to recover from almost development whoopsie thanks to Git
Remove Git Sub-module
Simple and to the point, I just dont want to forget how to remove a git submodule again
Revert to a previous Git commit
Sometimes I see developing software in Git as more of universal undo, but for that to work its important to know how to fix things when they go wrong.