Fix commit and push task implementation and added integration test.