test of staging, diff and commit.