Check for git revision first.