Adding git reset function for soft resets