git config --local --unset credential.helper &&
git config --global --unset credential.helper &&
git config --system --unset credential.helper
Author: runcodeguy
How to track down credential helper in Git
git config --local credential.helper &&
git config --global credential.helper &&
git config --system credential.helper
How to zip files and unzip
zip -r Archive.zip Source
unzip Archive.zip
How to archive files and unarchive using the tar command
tar -cf Archive.tar Source
tar -xf Archive.tar
How to merge changes from a remote repository into your local branch in Git
git pull --rebase
How to delete a remote branch in Git
git push origin --delete BranchName
How to push existing repository to GitHub
git remote add origin https://github.com/UserName/RepositoryName.git &&
git branch --move --force main &&
git push --set-upstream origin main
How to fetch and merge remote repository in Git
git pull
How to show the Git state
git status
How to reset commit and keep all changes
git reset --soft CommitID