Revert "FIX: Don't use checkout, use reset"

This reverts commit 89a7ad0e7d56507200ff7f7e76571289f6bf9e4d.
Revert "Use the tests-passed branch when upgrading Discourse for stability."

This reverts commit e025c32fde789d069b133bc98663c07b78320f2b.