How to remove remote branches form local repo code example Example: How to remove remote branches form local repo git remote prune origin