SyntaxFix
Write A Post
Hire A Developer
Questions
It will list the local branches whose remote tracking branch is deleted from remote
$ git remote prune origin --dry-run
If you want to de-reference these local branches from local which are un tracked
$ git remote prune origin