Update git refs

1) Update remoteRefs whenever fetched.
2) Request remote_refs async on "Git Branch" action. Local copy is returned immediately.

fixes #2346 

@dinhviethoa PTAL thanks.

Could you wait for the network refresh to happen before returning from this method then?
It would make the behavior of the dialog less funny :)