command line remove git file code example
Example 1: delete git
rm -rf .git
Example 2: delete file from a branch git
git rm --cached file1.txt
git commit -m "remove file1.txt"
rm -rf .git
git rm --cached file1.txt
git commit -m "remove file1.txt"