How to remove deleted branch names from git suggestions?

How to remove deleted branch names from git suggestions? It's as simple as that: ``` git fetch --prune --all ``` Or (thanks to @mus) you can add this...

How to restore deleted git branch

Short and working solution to restore deleted git branch

Move last commit to a feature branch

When you accidentally commit to master/staging and need to move the commit to a feature branch