git rm filename
To delete the file from git without removing it from disk, use the --cached flag
--cached
git rm --cached filename