def guess_gitflow_config(dir = Dir.pwd, options = {})
      path = normalized_path(dir)
      use_git = FalkorLib::Git.init?(path)
      return {} if (!use_git or !FalkorLib::GitFlow.init?(path))
      rootdir = FalkorLib::Git.rootdir(path)
      local_config = FalkorLib::Config.get(rootdir, :local)
      return local_config[:gitflow] if local_config[:gitflow]
      config = FalkorLib::Config::GitFlow::DEFAULTS.clone
      [ :master, :develop ].each do |br|
        config[:branches][br.to_sym] = FalkorLib::Git.config("gitflow.branch.#{br}", rootdir)
      end
      [ :feature, :release, :hotfix, :support, :versiontag ].each do |p|
        config[:prefix][p.to_sym] = FalkorLib::Git.config("gitflow.prefix.#{p}", rootdir)
      end
      config
    end
def guess_gitflow_config(dir = Dir.pwd, options = {})
      path = normalized_path(dir)
      use_git = FalkorLib::Git.init?(path)
      return {} if (!use_git or !FalkorLib::GitFlow.init?(path))
      rootdir = FalkorLib::Git.rootdir(path)
      local_config = FalkorLib::Config.get(rootdir, :local)
      return local_config[:gitflow] if local_config[:gitflow]
      config = FalkorLib::Config::GitFlow::DEFAULTS.clone
      [ :master, :develop ].each do |br|
        config[:branches][br.to_sym] = FalkorLib::Git.config("gitflow.branch.#{br}", rootdir)
      end
      [ :feature, :release, :hotfix, :support, :versiontag ].each do |p|
        config[:prefix][p.to_sym] = FalkorLib::Git.config("gitflow.prefix.#{p}", rootdir)
      end
      config
    end
master_branch
 guess_gitflow_config 
 Guess the gitflow configuration