I forked a repo, then cloned it to my Mac into a /YATC directory. I had a previously-created Xcode project (TwitterTimeline) in another directory, which I copied in
/YATC
The only way i was able to get around this error, after
git deinit
git rm
was to rename directory and then add it again.