how to remove files from git local repository code example Example: delete html file from git git rm file1.txt