break out staging and commiting