git how to know when file was deleted code example Example: git find when file was deleted git log --full-history -- your_file