in lib/rugged_adapter/git_layer_rugged.rb [595:598]
def index @index ||= Gollum::Git::Index.new(@repo.index, @repo) end