remove git files from directory terminal code example Example: how to remove git directory in terminal rm -rf .git