Elucidate the main function of ‘Git reset’?
The chief function of ‘Git reset’ is to easily reset your system index along with the operational directory to the position of your latest commit.