Provides a filesystem-like view of a git repository.
Override keyPressEvent to allow LeftArrow to work on non-directories.
When LeftArrow is pressed on a file entry or an unexpanded directory, then move the current index to the parent directory.
This simplifies navigation using the keyboard. For power-users, we support Vim keybindings ;-P