How to change the location of the git-data

How to change the default path.

For setting up different data storing directory

###! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#storing-git-data-in-an-alternative-directory

###! If you want to use a single non-default directory to store git data use a
###! path that doesn’t contain symlinks.

git_data_dirs({ “default” => { “path” => “/var/opt/gitlab/git-data”,‘gitaly_address’ => ‘unix:/var/opt/gitlab/gitaly/gitaly.socket’ } })