You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: git_add_renames_test.go
    path of file: ./repos/werf/integration/suites/build/stapel_image/git
    
    the code of the file until where you have to start completion: package git_test

import (
	"errors"
	"fmt"
	"io"
	"os"
	"path"
	"path/filepath"
	"strconv"

	"github.com/alessio/shellescape"
	. "github.com/onsi/ginkgo/v2"
	"gopkg.in/yaml.v3"

	"github.com/werf/werf/test/pkg/utils"
	"github.com/werf/werf/test/pkg/utils/docker"
)

var _ = Describe("Git add file renames", func() {
	rootOfHostFixtures := "git_add_renames"
	rootOfMountedInContainerGitRepo := "/host"
	rootOfBuiltIntoImageGitToFiles := "/"

	createCommands
    
func getSimpleGitMappingsFromFirstImageInWerfConfig(werfConfigPath string) []*simpleGitMapping {
	werfConfigFile, err := os.Open(werfConfigPath)
	if err != nil {
		Fail(err.Error())
	}

	yamlDecoder := yaml.NewDecoder(werfConfigFile)
	var simpleGitMappings []*simpleGitMapping
	for {
		simpleImageCfg := new(simpleImageConfig)

		if err := yamlDecoder.Decode(&simpleImageCfg); errors.Is(err, io.EOF) {
			break
		} else if err != nil {
			Fail(err.Error())
		}

		if simpleImageCfg.Image == "" || simpleImageCfg.Git == nil {
			continue
		}

		simpleGitMappings = simpleImageCfg.Git
		break
	}

	if simpleGitMappings == nil {
		Fail(fmt.Sprintf("no image git mappings found in %q", werfConfigPath))
	}

	return simpleGitMappings
}