But nothing in git (or any dvcs, really) is &quot;permanent record&quot; until you share it with others.  git users are very proud of git&#x27;s history editing capabilities, in fact.  So no need for an index, just commit, and edit that commit if needed.