Delete generateShaLikeGit function and all call