update instructions and fix git checkout