Adding commit -am, diff and undo

Added commit -am, diff and undo