write process about staging and commiting.