Update Git's index before reporting local changes

Closes #69.