refresh branch list git code example Example: refresh branch list git git remote update origin --prune