Add commit info to environment