You seem to have something wrong with your github repository layout. The files that you want to add to your repository must be within the repository source tree.
The way I understand it, your git repo is in
~/todo and you want to add files from
~/public_html/todo, but this is not how git works. Copy your files into
cp -r ~/public_html/todo/* ~/todo/) and try again.