extract git rev