git delet branches that where deleted in remote code example Example: git remove deleted remote branches git fetch origin --prune