Get file status for a single file
the status value
the file to retrieve status for, rooted at the repo's workdir
GIT_EINVALIDPATH when path
points at a folder, GIT_ENOTFOUND when the file doesn't exist in any of HEAD, the index or the worktree, GIT_SUCCESS otherwise