SaM Application: stageAndCommit