Generate repo identity

Repo identity is based on the first commit of repo.