if the repository is on Git, pick up the HEAD revision