git command to update origin list of branches code example Example: how to update remote branches list git git remote update origin --prune