Add "git_path()" and "head_ref()" helper functions.