remove git credentials in mac code example
Example 1: remove git credentials terminal
git config --unset credential.helper
Example 2: git remove cached
git rm -r --cached <name-of-dir>
git config --unset credential.helper
git rm -r --cached <name-of-dir>