For control version I use Github and I have a problem I can't solve.
I'm using Git plugin for Brackets and I want to desconnect a repository without deleting the directory file. I have been looking for a old question like this but I have not found it.
You can do this from the command line.
cd /Path/To/Directory
rm -rf .git/
That should remove the directory as a git repository.