Adding commit -am, diff and undo