change name of get git info script and move it to lib