Remova o Remova

git rm -r  --cached '~' // for remove directory
Powerhudaman