Added show_files and list directory suport
Added support for -B branch switching on checkout via :force_branch option
Don't provided final param if branch is nil