use Git#revision instead of a hacky replacement