Replace conditionals with assert_equal.
Add default git push option.