path.c: Remove the 'git_' prefix from a file scope function