Fix comments typos
refs.c: refactor resolve_ref_unsafe()
refs.c: teach Git to understand directories-as-refname
refs.c: teach resolve_ref_unsafe() to solve dir-as-refname references
refs: teach Git to delete dir-as-refname references
DEV