add some functions to pull git infomation from a repo