How Do I Set Credentials Helper In Git?

How Do I Set Credentials Helper In Git? $ git config –global credential.helper cache. $ git config –global credential.helper ‘store –file ~/.my-credentials’ [credential] helper = store –file /mnt/thumbdrive/.git-credentials helper = cache –timeout 30000. Is git credential helper secure? git-credentials file will have its filesystem permissions set to prevent other users on the system from reading