reduced number of git config paths to only one
generate git config only if it does not exist, added cloning of the repo