refresh branches, log & status on tab switch