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...
Short and working solution to restore deleted git branch
When you accidentally commit to master/staging and need to move the commit to a feature branch