Don't delete #git branches.
Don't squash your experiments and pretend you got it right from the first try.
Instead, after you're done with work, duplicate your whole branch into a squashed branch, and make PRs from there, if #gitflow is your thing.
Mastodon server of https://doma.dev.