If you want to completely remove the or un-initialize git from project and keep the working copy intact, delete the .get folder from your project root or use following to remove from command-

rm -rf .git

After this if you might get this error if you are trying to command on the non-initialized folder

fatal: Not a git repository (or any of the parent directories): .git