Refresh branch cache after `git gc`
As discussed in !5160 (merged), we should refresh the branch name list after expiring to make sure we are in a good state and that we do not affect view performance (as much).
As discussed in !5160 (merged), we should refresh the branch name list after expiring to make sure we are in a good state and that we do not affect view performance (as much).