Delete sha in getting list of all commits from repository