One of the 24 questions in this topic
--cached removes the file from Git's index while keeping the physical file on your computer.