Eliminar todos los archivos y subir de nuevos https://services.github.com/kit/downloads/github-git-cheat-sheet.pdf
First, remove all files from your Git repository using: git rm -r *
After that you should commit: using git commit -m "your comment"
After that you push using: git push (that's update the origin repository)
To verify your status using: git status
After that you can copy all your local files in the local Git folder, and you add them to the Git repository using: git add -A
You commit (git commit -m "your comment" and you push (git push)
git rm -r --cached .
git add .
git commit -m "fixed untracked files"