Add helper for adding commits