Add hard reset (git) and test for uncommited changes (svn)