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