Add git diff algo