One thing we need to know is that the below method only clear the git commit history. One with git commit history links still can retrieve the info.