Yeah. I mean that you pick a commit that goes through all the tests and then checkout that commit.
Example:
git clean -xdf
python setup.py clean
git checkout 3c409fc66c76ccbd10bd5d234c6ee8492ae7f653
git submodule sync
git submodule update --init --recursive