git update remote branch with local completely code example
Example 1: how to update remote branches list git
git remote update origin --prune
Example 2: git command to refresh remote branches
git remote update origin --prune
git remote update origin --prune
git remote update origin --prune