I’ve just learned that one can backtrack to a version of one’s choice using the ‘git reset commit_SHA’ method (https://www.codecademy.com/courses/learn-git/lessons/git-backtracking/exercises/git-reset-2). They also mentioned that the commits that came after the one you reset to are gone and the HEAD
commit is reassigned to a previously made commit of your choice.
Say I realized that I made a mistake backtracking to a previous commit. I want to revert changes to a commit I had made before backtracking to a more previous version. Would I be able to revert changes to a commit in the ‘future’ (or ‘forward-track’, so to speak), or are all the versions that come after the new HEAD commit already deleted and I have to rewrite the code?