git_functs: initial version