git search in file history for a term code example Example: git search history for file git log --all --full-history -- "**/thefile.*"