git reset --hard <tag/branch/commit id>
Notes:
git reset without the --hard option resets the commit history, but not the files. With the --hard option the files in working tree are also reset. (credited user)
Katharina Thill, Julia Domnanovich, and B. Venegas. Forschung und Praxis an der FHWien der WKW Springer Gabler, Wiesbaden, (2018)1 Online-Ressource (XVI, 485 Seiten) : Illustrationen.
and von Friedhelm Knorr. Hand- und Arbeitsbücher / Deutscher Verein für Öffentliche und Private Fürsorge ; 2 Eigenverl. des Deutschen Vereins für öffentliche und private Fürsorge, Frankfurt am Main, (2001)270 S ; 24 cm : graph. Darst.