how to remove a folder in the master branch in git code example Example: git remove from folder rm -rf .git