module Git

def self.open(working_dir, options = {})

:index => '/path/to/alt_index_file'
:repository => '/path/to/alt_git_dir'
options

your git_dir and index are in the default place (.git/, .git/index)
if not provided in the options, the library will assume
a git reference, referring to a working directory.
this will most likely be the most common way to create

open an existing git working directory
def self.open(working_dir, options = {})
  Base.open(working_dir, options)
end