Update gitconfig and use dynamic path