git-gui: Implement basic branch switching through read-tree.