get relative git path given an absolute path