Datalad: revert changes to files

How is the correct way of reverting changes I’ve made to some NiFTi files’ headers? They belong to one dataset under the openfmri superdataset.

If you have this change in an isolated commit, you can just revert this commit, or do any of the strategies that Git offers for this case (interactive rebase etc.). From Git’s point of view your modification of the headers resulted on a new data file that it is pointing to after the changes has been commited. Hence there is pretty much no difference to a modification of a text file commited directly into Git.