clear git credentials linux code example Example: remove git credentials terminal git config --unset credential.helper