git checkout 指定ファイルを特定のバージョンに戻す

git checkout [file]で変更を取り消す事はできるけど、
特定のバージョンに戻したい場合

git checkout コミット ファイル
git checkout 8f87b8a /path/to/xxx.php