Based on How can I undo the last commit in Git? .
Is there a way to return a Git repository to a specific commit?
For example:
- commit to "First commit"
- commit b
- commit c
- commit d
- commit and
- commit f
- commit g
- commit h "Current version"
Is there a way to return to "commit c"?