Add function to purge file from git commits