Support git info for named revisions such as HEAD