set git name and email if provided in the environment variables