In my preceding blog, I have explained regarding “How to see all versions of a file in git”. Now, I will elaborate about “How to go back to previous version of a particular file. Here, we will consider the same example of “README.txt” file as it has 4 versions in the “sub-branch”. First see the below image which depicts all versions of that file. Now, I will go back to the original version of the file which is version-1 with the help of below mentioned steps. STEP 1 : Get…