add commands to show index as well as load and unload a commit into the index