(require 'magit)

(progn 
  (magit-stage-1 "--all")
  (magit-commit-create '("--message" "Fix."))
  (magit-push-matching "origin"))
(defun our-git-commit-and-push-all ()
  (magit-stage-1 "--all")
  (magit-commit-create '("--message" "Fix."))
  (magit-push-matching "origin"))