Remove hard dependency on git
gitis now only invoked to resolve thegit-dirif a--git-diris not provided--lock-dirwas added which resolves to the current working directory if not provided
git is now only invoked to resolve the git-dir if a --git-dir is not provided--lock-dir was added which resolves to the current working directory if not provided