# Open History Versions of Files in Git
## Synopsis
Use [sindrets/diffview.nvim](https://github.com/sindrets/diffview.nvim):
1. Use `:[range]DiffviewFileHistory [paths] [options]` to open the file history
2. Select a commit to open the history version. The left window is the version before the commit.