add index-of and last-index-of to lore ns
get relative git path given an absolute path