Creates new commit.