Removing apps seems impossible

I was trying to remove git (for testing purposes) and it turns out to be nearly impossible. I used sudo swupd bundle-remove git and it suggested using ‘–force git’ so I did that and it removed stuff but not git!

git --version shows that it’s installed.

How do I remove git?
What bundle is it in?

I want a procedure that’s universal for any app.