git: Add RelativePath function

Might be handy in the future, so let's keep it there...

Change-Id: dec3471405