use module.get_bin_path('git', True) once and pass git_path to functions