Refactor _fuxxy_git to select loop