checkout previous version of LaTeX-Box (error)

To find the hash of the commit you want to checkout, use the following command:

    git lg

Note: lg is an alias in my .gitconfig:

    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)[%an]%Creset' --abbrev-commit --date=relative

Then checkout using the hash:

    git checkout ad4e748

And commit the change since this is a submodule of a git repo:

    cd ..
    git add LaTeX-Box
    git commit