added a method to undo a bad commit using git uncommit