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