use git_path_* helper functions