add support for upstream to commit command