find . -type f -name "* (1)*" -exec rm -f {} \;
awk '!/conflicted/' .git/packed-refs > temp && mv temp .git/packed-refs
Note: those two lines are destructive commands if you first want to see what they do try:
find . -type f -name "* (1)*"
awk '!/conflicted/' .git/packed-refs