Add log method to GitStorage ; add unittests for log