git-gui: Skip unnecessary read-tree work during checkout