Added support for optional sequence: init, add, commit, push