def rootdir(path = Dir.pwd)
      g = MiniGit.new
      g.find_git_dir(path)[1]
    end
def rootdir(path = Dir.pwd)
      g = MiniGit.new
      g.find_git_dir(path)[1]
    end
Return the Git working tree from the proposed path (current directory by default)